Internet Handholding posted on November 23, 2009 22:22

Before installing DotNetNuke on your webserver, there are a few changes you can make that can make your installation and later use more convenient.
First set up the App_Code folder so you can use csharp. Under App_Code folder, add the folders cs and vb. Move the .vb files in App_Code under the vb folder.
Here are the changes to make to web.config.
- Copy web.config to web.config-original_20091123 so you have the original web.config.
- Put the connection string for your database under both connectionStrings and appSettings.
<connectionStrings>
<add name="SiteSqlServer" connectionString="Data Source=118.43.33.55;Initial Catalog=your_dnn_database;User ID=your_dnn_username;Password=yourpassword" />
</connectionStrings>
<appSettings><add key="SiteSqlServer" value="Data Source=118.43.33.55;Initial
Catalog=your_dnn_database;User ID=your_dnn_username;Password=yourpassword" />
- Add the code subdirectories for cs and vb.
<codeSubDirectories>
<add directoryName="cs" />
<add directoryName="vb" />
</codeSubDirectories>
- Show errors so you can see if there is a problem.
<customErrors mode="Off" />
- Increase the timeout so you stay logged on. That way, whenever you go to your website, you will be automatically logged on and make changes easily.
<forms name=".DOTNETNUKE" protection="All" timeout="80000"
By Andrew Weitzen, Bronze Inc.(c) 2010
Bronze is the publisher of several online Internet journals including: InternetHandholding.com, DomainNames.gs, DotNetNuke.bz, Programmer.bz, Software.vg, WebHosting.vg