Difference between revisions of "Configuring web.config in GeneXus applications"

From GXtest Wiki
Jump to: navigation, search
(New page: Category: Installation Guides .NET Web applications uses a file called web.config (XML) to configure their access to the database. <BR> This file is located in the root virtual direct...)
 
Line 6: Line 6:
 
[[image: webconfig.png | center]]
 
[[image: webconfig.png | center]]
  
Often, this file need to be reconfigured with the name of SERVER DATABASE correct username and password. <BR>
+
Often, this file need to be reconfigured with the name of SERVER DATABASE, the correct username and password. <BR>
Since this data is encrypted, we can use the tool GXConfig.exe (within the /bin directory) to configure web.config file. <BR>
+
Since this data is encrypted, we can use the a tool named GXConfig.exe to configure web.config file (you can find it within /bin directory of your application)file. <BR>
 
To do this, the web.config file must be copied to the bin folder:
 
To do this, the web.config file must be copied to the bin folder:
  

Revision as of 21:44, 25 March 2011


.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, the correct username and password.
Since this data is encrypted, we can use the a tool named GXConfig.exe to configure web.config file (you can find it within /bin directory of your application)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)