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