DNN 2.1.2 and 3.0.10 on same machine?

Last post 02-24-2005 11:32 AM by ariggs. 18 replies.

Sort Posts:

  • DNN 2.1.2 and 3.0.10 on same machine?

    02-20-2005, 9:39 PM
    • Participant
      840 point Participant
    • jettman26
    • Member since 02-16-2005, 4:58 PM
    • Posts 168
    Is it possible to run DNN 2.1.2 and 3.0.10 on the same machine at the same time? I want to do this briefly to check out 3.0.10 without uninstalling 2.1.2.
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-20-2005, 11:07 PM
    • Member
      380 point Member
    • Dan5150
    • Member since 02-08-2005, 12:59 AM
    • Daytona Beach
    • Posts 84
    Yes, you can have as many copies and versions that you like, each DotNetNuke installation is it's own program. If this is on a local machine, create a folder anywhere you like then Extract the DotNetNuke package you downloaded to this folder. Then create a virtual directory pointing to this folder. If you need more help, let me know if this is a local machine, and if so, what are you using as a server.

    Hope this helps,
    Dan5150
    www.5150creations.com
    Dan5150
    www.5150creations.com
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-21-2005, 10:30 AM
    • Participant
      840 point Participant
    • jettman26
    • Member since 02-16-2005, 4:58 PM
    • Posts 168
    I unzipped 3.0.10 to a new directory. Gave the ASP.NET user full sharing and security privledges, changed the web.config file for this directory, and created a virtual directory in IIS pointing to this directory.
    Do I need to create a second database in MSSQL 2000 for 3.0.10 or can I use the same database as my 2.1.2 DNN installation?
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-21-2005, 9:28 PM
    • Star
      9,364 point Star
    • xddg
    • Member since 12-10-2002, 3:09 PM
    • Melbourne
    • Posts 1,874
    • TrustedFriends-MVPs
    You need to have a separate database for each installation.

    Nina Meiers
    Nina Meiers


    Free Skins & Containers by Nina Meies
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-21-2005, 10:25 PM
    • Participant
      840 point Participant
    • jettman26
    • Member since 02-16-2005, 4:58 PM
    • Posts 168
    Do I need to modify the web.config file any where besides the server name, database name, uid, password in the two spots?
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-21-2005, 10:39 PM
    • Star
      9,364 point Star
    • xddg
    • Member since 12-10-2002, 3:09 PM
    • Melbourne
    • Posts 1,874
    • TrustedFriends-MVPs
    That's all and you're there!

    Just make sure your users are setup correctly in SQL

    I run many installations.. for testing, skinning, modules etc.
    My local naming convention follows either the version, or if testing versions, the version and date. EG 212Jan3005 - I then name the database the same when testing, so I can copy and paste it from web.config, to db.

    You should be OK to go now.

    Nina Meiers
    Nina Meiers


    Free Skins & Containers by Nina Meies
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-21-2005, 10:58 PM
    • Participant
      840 point Participant
    • jettman26
    • Member since 02-16-2005, 4:58 PM
    • Posts 168
    I unzipped 2.1.2 into C:\dotnetnuke2.
    I gave ASP.NET full rights in Sharing and Security for this folder.
    I created a virtual directory in IIS called dotnetnuke2 and pointed it to the C:\dotnetnuke2 folder.
    I created a new blank database in MSSQL 2000 called dotnetnuke2. I added the same user that I am using for my dotnetnuke 3.0.10 installation.
    As far as the Web.config file goes, I am not sure if I have it right. Here is my Web.config file (I changed the uid and password to all x's for security of this post.)

    <configuration>
    

    <!-- register local configuration handlers -->
    <configSections>
    <sectionGroup name="dotnetnuke">
    <section name="data" type="DotNetNuke.ProviderConfigurationHandler, DotNetNuke" />
    <section name="logging" type="DotNetNuke.ProviderConfigurationHandler, DotNetNuke" />
    <section name="scheduling" type="DotNetNuke.ProviderConfigurationHandler, DotNetNuke" />
    <section name="htmlEditor" type="DotNetNuke.ProviderConfigurationHandler, DotNetNuke" />
    </sectionGroup>
    </configSections>

    <!-- Sql Server connection string for support of pre DNN 2.0 Private Assemblies
    The new connection string (for DNN 2.0) is in the section dotnetnuke (providers) -->
    <appSettings>
    <add key="connectionString" value="Server=DELL;Database=dotnetnuke2;uid=DNN;pwd=*****;" />
    </appSettings>

    <system.web>

    <!-- set debugmode to false for running application -->
    <compilation debug="false" />

    <!-- permits errors to be displayed for remote clients -->
    <customErrors mode="RemoteOnly" />

    <!-- Forms or Windows authentication -->
    <authentication mode="Forms">
    <forms name=".DOTNETNUKE" protection="All" timeout="60" />
    </authentication>
    <!--
    <identity impersonate="true"/>
    <authentication mode="Windows">
    </authentication>
    -->

    <!-- allow large file uploads -->
    <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" />

    <!-- GLOBALIZATION
    This section sets the globalization settings of the application.
    Utf-8 is not supported on Netscape 4.x
    If you need netscape compatiblity leave iso-8859-1.
    UTF-8 is recommended for complex languages
    -->
    <globalization culture="en-US" uiCulture="en" requestEncoding="UTF-8" responseEncoding="UTF-8" fileEncoding="UTF-8" />
    <!--<globalization culture="en-US" uiCulture="en" fileEncoding="iso-8859-1" requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"/>-->

    <!-- page level options -->
    <pages validateRequest="false" enableViewStateMac="true" />

    </system.web>

    <dotnetnuke>
    <htmlEditor defaultProvider="FtbHtmlEditorProvider" >
    <providers>
    <clear/>
    <add name = "FtbHtmlEditorProvider"
    type = "DotNetNuke.HtmlEditor.FtbHtmlEditorProvider, DotNetNuke.FtbHtmlEditorProvider"
    providerPath = "~\Providers\HtmlEditorProviders\FtbHtmlEditorProvider\"
    />
    </providers>
    </htmlEditor>
    <data defaultProvider="SqlDataProvider" >
    <providers>
    <clear/>
    <add name = "SqlDataProvider"
    type = "DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider"
    connectionString = "Server=DELL;Database=dotnetnuke2;uid=DNN;pwd=*****;"
    providerPath = "~\Providers\DataProviders\SqlDataProvider\"
    objectQualifier = ""
    databaseOwner = "dbo"
    upgradeConnectionString = ""
    />
    <add name = "AccessDataProvider"
    type = "DotNetNuke.Data.AccessDataProvider, DotNetNuke.AccessDataProvider"
    connectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;"
    providerPath = "~\Providers\DataProviders\AccessDataProvider\"
    objectQualifier = "DotNetNuke"
    databaseFilename = "DotNetNuke.mdb.resources"
    />
    </providers>
    </data>
    <logging defaultProvider="XMLLoggingProvider" >
    <providers>
    <clear/>
    <add name = "XMLLoggingProvider"
    type = "DotNetNuke.Logging.XMLLoggingProvider, DotNetNuke.XMLLoggingProvider"
    configfilename="LogConfig.xml.resources"
    providerPath = "~\Providers\LoggingProviders\XMLLoggingProvider\"
    />
    </providers>
    </logging>
    <scheduling defaultProvider="DNNScheduler" >
    <providers>
    <clear/>
    <add name = "DNNScheduler"
    type = "DotNetNuke.Scheduling.DNNScheduler, DotNetNuke.DNNScheduler"
    providerPath = "~\Providers\SchedulingProviders\DNNScheduler\"
    debug="false"
    maxThreads="-1"
    enabled="true"
    />
    </providers>
    </scheduling>

    </dotnetnuke>
    </configuration>


    1. Is this Web.config file correct?
    2. In IIS for my virtual directory on the 'Virtual Directory' tab, I have the 'Application name:' set to 'dotnetnuke2'. Should it be dotnetnuke or dotnetnuke2?

    I keep getting this error when dotnetnuke2 goes thru its setup when I type in 'localhost/dotnetnuke2'


    Server Error in '/dotnetnuke2' 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: Section or group name 'data' has already been defined.

    Source Error:


    Line 4: <configSections>
    Line 5: <sectionGroup name="dotnetnuke">
    Line 6: <section name="data" type="DotNetNuke.ProviderConfigurationHandler, DotNetNuke" />
    Line 7: <section name="logging" type="DotNetNuke.ProviderConfigurationHandler, DotNetNuke" />
    Line 8: <section name="scheduling" type="DotNetNuke.ProviderConfigurationHandler, DotNetNuke" />


    Source File: C:\dotnetnuke2\web.config Line: 6
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-21-2005, 11:37 PM
    • Star
      13,100 point Star
    • JWhite
    • Member since 06-26-2002, 10:30 AM
    • New York
    • Posts 2,616
    where is DNN 3.x installed? If it's installed in the root, then you could get this error perhaps.
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-21-2005, 11:39 PM
    • Participant
      840 point Participant
    • jettman26
    • Member since 02-16-2005, 4:58 PM
    • Posts 168
    3.x is installed on the root of IIS. I am using XP Pro.
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-22-2005, 4:36 AM
    • Star
      13,100 point Star
    • JWhite
    • Member since 06-26-2002, 10:30 AM
    • New York
    • Posts 2,616
    On XP, you have no choice other than installing each instance of DNN in it's OWN VDir. The root web.config is still in effect for the vdir. That's where those errors come from.

    On a server you can install each instace of DNN into the root of their own site using host headers or seperate IP's.
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-22-2005, 8:51 AM
    • Participant
      840 point Participant
    • jettman26
    • Member since 02-16-2005, 4:58 PM
    • Posts 168
    Thanks, that was the problem. Now that brings up another question.
    My domain name is beethe.com. When I type in beethe.com, I want it to go to my 3.x version. I have another domain that I want to go to the 2.1.2 installation. I can't see how this would be possible.
    I set the portal alias in 3.x to beethe.com and got a server error. I can only get to 3.x by using beethe.com/dotnetnuke or localhost/dotnetnuke. I want to be able to get to it by just typing beethe.com. Is this possible?
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-22-2005, 11:59 AM
    • Member
      170 point Member
    • pbergma
    • Member since 05-09-2004, 10:16 PM
    • Posts 34
    hi jwhite

    I trying to install DNN 3.0.10 on an XP machine with SQL 2000. I have done 6 clean installs and I am always getting errors when the install is trying to run store procedures. It comes back and says it can't find stored procedure dbo.XXXXXXXX.

    I have extracted the DNN 3.0.10 code to a folder, DNN3010, under c:\inetpub\wwww.root and created a virtual directory pointing to this folder. This resulted in the error above.

    I then tried extracting the code to a folder, SOS3010, under c: and creating a new virtual directory, SOS3010, point to the folder under c:\. I got the same error again.

    In both case I have given ASP.Net user, Administrator, Sytem, Everyone ( full access) and the IUSR user Read and Excute) to the folder DNN3.0.10 got installed.

    In the database I created a user login pbergman that has db_owner rigths and gave them access to the databases for the DNN 3.0.10.

    But still am getting the can't find stored procs.

    I then modify the Web.config files in one place with the following modification:
    /configSections>

    <!-- the old connectionString setting has been deprecated and replaced with the data provider section below -->
    <appSettings>
    <add key="SiteSqlServer" value="Server=(local);Database=SOS3010;uid=pbergman;pwd=pjbjmvj4;" />
    <add key="MachineValidationKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902" />
    <add key="MachineDecryptionKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC" />
    <add key="MachineValidationMode" value="SHA1" />
    <add key="InstallTemplate" value="DotNetNuke.install.resources" />
    </appSettings>

    Is there somthing I am missing to casue this problem??? Is there a work around?? Again I have tried a clean install 6 times and still getting the same message.

    Thanks for any help you can give.
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-22-2005, 3:56 PM
    • Participant
      840 point Participant
    • jettman26
    • Member since 02-16-2005, 4:58 PM
    • Posts 168
    1. You are using XP Pro right?
    2. Make sure you are not using simple file sharing. If you are turn it off and then create the user ASPNET and give ASPNET full 'Sharing' and 'Security' rights for your SOS3010 folder on your C drive.
    3. Did you create a blank database and call it SOS3010?
    4. For this newly created blank database called SOS3010, did you add the user 'pbergman' and give it owner and public rights?
    5. When you created the virtual directory in IIS, on the 'Virtual Directory' tab, make sure the
    'Application name:' says 'dotnetnuke'. Also make sure 'Defualt.aspx' is the first listed in the 'Documents' tab.
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-22-2005, 5:04 PM
    • Member
      170 point Member
    • pbergma
    • Member since 05-09-2004, 10:16 PM
    • Posts 34
    jettman26

    1. I am using XP Pro SP2
    2. I am not using simple file sharing is not turned on. ASPNet has full control of my C:\SOS3010
    3. Yes, I created a blank database and called it SOS3010
    4.Yes, I did create a loging user named pbergman and gave it owner and public rights
    5. Should the application name be SOS3010 instead of DotNetNuke? Since this is the directory you are point to and what the virtual directory is called???
    5.Yes, Defualt.aspx is 1st in the list.

    Still get issue running DNN3.0.10

    Pat
  • Re: DNN 2.1.2 and 3.0.10 on same machine?

    02-22-2005, 5:28 PM
    • Participant
      840 point Participant
    • jettman26
    • Member since 02-16-2005, 4:58 PM
    • Posts 168
    Not sure, I think I had to have the application name set to dotnetnuke, but coincidentally my directory had the same name.
Page 1 of 2 (19 items) 1 2 Next >