Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Two versions on one server?Two versions on one server?
Previous
 
Next
New Post
10/2/2009 8:10 AM
 

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=&quot;.\DotNetNuke &quot;;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=&quot;.\DotNetNuke &quot;;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?

 

 
New Post
10/2/2009 8:25 AM
 

did you properly create a 2nd IIS web site, pointing to DNN2 folder?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/2/2009 8:50 AM
 

Yes, I have... I think.  When I go into the ASP.NET tab configuration settings for the new database and I try to edit the configuration of the new install it gives me a configuration error message that says:

An error has occured attempting to read the configuration.  The error message is:

The entry 'SiteSqlServer' has already been added.

Source File:E\DNN2\web.config

Line:26

 
New Post
10/3/2009 4:52 AM
 

No, I am talking about the directory setting in IIS, the web site is pointing to, which needs to differ from other Web site. 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Two versions on one server?Two versions on one server?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out