Configuring web.config in GeneXus applications

From GXtest Wiki
Revision as of 21:43, 25 March 2011 by Fbaptista (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


.NET Web applications uses a file called web.config (XML) to configure their access to the database.
This file is located in the root virtual directory.
Within that section there is a configuration file (web.config) that looks like this:

Webconfig.png

Often, this file need to be reconfigured with the name of SERVER DATABASE correct username and password.
Since this data is encrypted, we can use the tool GXConfig.exe (within the /bin directory) to configure web.config file.
To do this, the web.config file must be copied to the bin folder:

Webconfig copy.png


Choose from the combo box the configuration, type server, username and password, and Save

Gxconfig.PNG

Now, you web.config file is updated.
Finally restore the file to its original location (outside the bin folder)