DiscountASP.NET Support Portal
Language
 
Home>Knowledge Base>Third Party Applications/Tools>DotNetNuke>How to install DotNetNuke 5.x on DiscountASP.NET servers
Information
Article ID471
Created On3/6/2009
Modified8/6/2009
How to install DotNetNuke 5.x on DiscountASP.NET servers
Below is a step by step installation procedure to install DotNetNuke portal version 5.x on DiscountASP.NET servers.

We do not support the DotNetNuke Portal software. If you run into installation problems, you are welcome to use the DiscountASP.NET Community Forum
or the ASP.net forums for peer support.

Note: Our testing showed dramatically better performance on IIS7 than IIS6, so we do not recommend installing DotNetNuke on an account that is using IIS6.

Note:
The following instructions are written for DNN 5.0.0. Other versions may have some slight differences.

A) Get DotNetNuke 5.x and upload to web server
  • Download DotNetNuke 5.x "Install" Version from DotNetNuke.com
  • Extract the content to your local machine
B) Customizing the web.config file
  • Open the Web.config file with any text editor.
  • Update the database connection information
1) In the <connectionStrings> section

Replace:

<connectionStrings>
  <!-- Connection String for SQL Server 2005 Express -->
  <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" />
  <!-- Connection String for SQL Server 2000/2005
  <add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;" providerName="System.Data.SqlClient" />
  -->
</connectionStrings>

 
with:

<!-- Connection String for SQL Server 2000/2005 -->
  <add name="SiteSqlServer" connectionString="THE ENTIRE CONNECTION STRING LOCATED IN THE SQL SECTION OF YOUR CONTROL PANEL" />
</connectionStrings>


2) In the <appSettings> section

Replace:

<appSettings>
  <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules   -->
  <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" />


with:

<add key="SiteSqlServer" value="Data Source=tcp:YOUR SQL SERVER NAME;Initial Catalog=YOUR SQL DABASE NAME;User ID=YOUR SQL USERNAME;Password=THE SAME PASSWORD THAT YOU USE TO LOGIN TO THE CONTROL PANEL" />


To avoid any conflicts, we recommend using a fresh database for the application install.

C) Upload all the files to your web site account. We recommend uploading DotNetNuke into a subdirectory. We DO NOT recommend uploading DotNetNuke to your document root directory.

D) IIS Configurations

1) Switch the ASP.NET version to ASP.NET 2.0 in the IIS Tools in the Control Panel
  • Logon to your Control Panel
  • Navigate to the IIS Tools
  • Go to the ASP.NET Version Tab
  • Ensure that the ASP.NET version is 2.0
2) Create a Web Application
  • Navigate to the Web Application Tool
  • Click on the subdirectory in your account where you uploaded the DotNetNuke files
  • Click Install Application
E) DotNetNuke Setup

Open your browser and navigate to http://www.YourHostedDomainName.com/DotNetNuke_subdirectory

DotNetNuke will setup all the database objects when it first loads. This process MAY run for several minutes. DO NOT hit the stop button on the browser

Warning: If you install DotNetNuke in your document root directory, your other .NET applications under the root may fail.

For more information on DotNetNuke, you can review the documentation under the /documentation directory/. For DotNetNuke support, please visit ASP.NET Forums.

We tested the installation on a SQL 2005 database server, but the same process should also work with SQL 2008.