Language
 
HomeKnowledge BaseThird Party Applications/ToolsDotNetNukeHow to install DotNetNuke 4.x on DiscountASP.NET servers
Information
Article ID390
Created On11/24/2008
Modified3/6/2009
Share With Others
How to install DotNetNuke 4.x on DiscountASP.NET servers
Below is a step by step installation procedure to install DotNetNuke portal version 4.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 for peer support or use the ASP.net forums.

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

A) Get DotNetNuke 4.x and upload to web server
  • Download DotNetNuke 4.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:

<!-- 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" />
-->

 
with:

<add
  name="SiteSqlServer"
  connectionString="Server=SQL_SERVER_NAME;Database=DB_NAME;uid=DB_USERNAME;pwd=DB_PASSWORD;"
  providerName="System.Data.SqlClient" />


2) In the <appSettings> section

Replace:

<!-- Connection String for SQL Server 2005 Express - kept for backwards compatibility - legacy modules   -->
<add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
<!-- Connection String for SQL Server 2000/2005 - kept for backwards comparability - legacy modules
<add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;"/>
-->


with:

<add key="SiteSqlServer" value="Server=SQL_SERVER_NAME;Database=DB_NAME;uid=DB_USERNAME;pwd=DB_PASSWORD;"/>


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 User/Quota Manager - Confirm that you have the following active users:
  • Main user account
  • Anonymous ASPNet User
  • Anonymous User (IUSR)
  • Allocate a Quota of 200MB each for the ASPNet User and IUSR accounts by clicking the corresponding "Edit" link.
  • 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 2000.