Currently I have version DNN 4.09 (in directory called E:\DNN) up and running on my server. Can I also install DNN5 on the same server? I've tried to install DNN 5 in a separate directory E:\DNN2), but it seems as if the install is calling the web.config file from the DNN 4.09 directory. Here's my error message during the install:
Server Error in '/Dnn2' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The code subdirectory '/Dnn2/App_Code/HTML/' does not exist.
Source Error:
Line 105: -->
Line 106: <codeSubDirectories>
Line 107: <add directoryName="HTML" />
Line 108: <add directoryName="IFrame" />
Line 109: <add directoryName="Survey" />
|
Source File: E:\DNN\web.config Line: 107
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
Here is what a portion of my web.config file says:
<connectionStrings>
<!-- Connection String for SQL Server 2005 Express
<add name="SiteSqlServer" connectionString="Data Source=.\DotNetNuke;Integrated Security=True;User Instance=True;AttachDBFilename=|E:\DNN2\App_Data|Database.mdf;" providerName="System.Data.SqlClient" />
-->
<add name="SiteSqlServer" connectionString="Data Source=".\DotNetNuke ";Initial Catalog=dnn2;User ID=sa;Password=bob" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules
<add key="SiteSqlServer" value="Data Source=.\DotNetNuke;Integrated Security=True;User Instance=True;AttachDBFilename=|E:\DNN2\App_Data|Database.mdf;" />
-->
<add key="SiteSqlServer" value="Data Source=".\DotNetNuke ";Initial Catalog=dnn2;User ID=sa;Password=bob" />
<add key="InstallTemplate" value="DotNetNuke.install.config" />
<add key="AutoUpgrade" value="true" />
<add key="UseInstallWizard" value="true" />
<add key="InstallMemberRole" value="true" />
<add key="ShowMissingKeys" value="false" />
<add key="EnableWebFarmSupport" value="false" />
<add key="EnableCachePersistence" value="false" />
<add key="HostHeader" value="" />
<!-- Host Header to remove from URL so "www.mydomain.com/johndoe/Default.aspx" is treated as "www.mydomain.com/Default.aspx" -->
<add key="RemoveAngleBrackets" value="false" />
<!--optionally strip angle brackets on public login and registration screens-->
<add key="PersistentCookieTimeout" value="0" />
<!--use as persistent cookie expiration. Value is in minutes, and only active if a non-zero figure-->
<!-- set UsePortNumber to true to preserve the port number if you're using a port number other than 80 (the standard)
<add key="UsePortNumber" value="true" /> -->
<add key="InstallationDate" value="5/4/2009" />
</appSettings>
Why does the DNN 5 install keep calling the E:\DNN\web.config file?