Unofficial Content

The requirements are similar to those of the developed environment: 

Server Installation

  • Internet Information Server 5.0 or higher with ASP.NET support. (Note: Usually Windows server doesn't install asp.net by default).
  • Microsoft .NET Framework 2.0 or higher.  
  • Database client with access to Database server.

IMPORTANT: In order to work properly, FULL TRUST must be configured in the web server. This is required, for the uses of reflection in standard classes.

Client Installation

A browser is enough.

When using Internet Explorer, the minimum supported version is I.E. 6.0

* For more information - Requirements - .NET Generator Manual of GeneXus X

Server installation

It is very simple to deploy an application. This is a summary of the necessary steps to Install the application on the server

  1. Copy assemblies (CSharp XCopy Deployment Extension)
  2. Create the virtual directory (IIS)
    1. Select an application pool, check next section for specific configuration.
    2. Set the physical path to your application
  3. Configure the associated WebApplication pool (IIS), minimal properties to set are:
    1. .NET CLR Version check your GeneXus C# compiler version and set this value accordingly (v2.0 or v4.0). 
    2. Enable 32-bit Applications: True
    3. Managed Pipeline Mode: Classic for Xev1 version and Integrated for Xev2 and higher versions.
  4. Configure the Database access (Gxconfig)
  5. Run the reorganization.

Step-by-Step guide (Windows 7, IIS 7.5)

1. Use the CSharp XCopy Deployment Extension or copy your WEB folder (you can get rid of .cs, .rsp files) into the server hard drive where you want to keep your application files. 

2. In order to configure the WebServer (IIS), open inetmgr.exe.

  2.a Application Pool configuration

     For GeneXus X Evolution 2 or higher: Application Pool could be Integrated or Classic. It must be the same as that of the IIS Version property

     For previous versions, the application pool must be set to "Managed Pipeline Mode = Classic", as shown  here

     2.b. Virtual directory

     - Browse Sites/Default Web Site, Right Click, "Add Application".
     -  Enter an Alias, enter the path to the Webfolder copied in step1. Make sure that the Application Pool that is associated with the Application is the one you configured in the third step. 

     iis75newsite

3. In a common case, the connection string is not known in the development environment. For that reason, if your application accesses a database, you may need to reconfigure your Web.Config in order to modify your application connection string.

For more information: Gxconfig

4. Run the reorganization 

As it was mentioned in the first step, it is possible to deploy the application using CSharp XCopy Deployment Extension or copying the specific files detailed in the Generation of reorganization programs Section

Related links

.NET Troubleshooting

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant