CMS: DotNetNuke

Install Guides
Instructions below are provided for the do-it-yourselfer. Millennium Systems will be glad to install this component on your website at no charge either as the default Content Management System or under a /DNN/ folder.

Step 1: Download the latest version from the DotNetNuke web site

Step 2: Extract the DotNetNuke install zip to a folder on your hard drive and make a copy of the web.config file

Step 3: Open a support ticket, requesting the following operations are done on your site

• Remove the default virtual directory called Admin from your website so that DotNetNuke will function properly
• Add default.aspx as a default document type if not already
• Set Anonymous users and Network Service account to MODIFY access on your www folder
• Set your website to ASP.NET 2.0 if not already

Step 4: Create a database via your hosting control panel, refer to your setup email for login information. We highly recommend selecting a strong password that is at least 8 characters long. If your site does not have a control panel please request a MSSQL database setup for your domain by opening a support ticket

• Log in to your hosting control panel
• Click the Tools link in the navigation
• Click the Database Manager icon
• Create a MSSQL database and make note of the database name, user and password

Step 5: Edit the web.config with your preferred test editor. You will find this file in whichever folder you extracted the install zip to. Go to line 22-32 and comment out the SQL Express section and uncomment the SQL 2005 section.

Code to be replaced

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

New code to insert. Changing server, database, uid and pwd variables to be the settings you noted in the previous step

<!-- 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=mssql3.nextmill.net; Database=mysite_dnn; uid=mysite_dnn; pwd=mysecurepassword;"
 providerName="System.Data.SqlClient" />

Scroll down a little further to line 35-39, you will notice a similiar section

Code to be replaced

<!-- 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;"/>
<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules
 <add key="SiteSqlServer" value="Server=(local); Database=DotNetNuke; uid=;pwd=;"/>
-->

New code to insert

<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules -->
 <add key="SiteSqlServer" value="Server=mssql3.nextmill.net; Database=mysite_dnn; uid=mysite_dnn; pwd=mysecurepassword;"/>

Notice we removed the first 2 lines and the 5th line, we edited the third line to have a comment --> at the end, and we edited the database settings again as we did above to reference your MSSQL database. Now save the changes to the web.config file.

Step 6: Now using an FTP client you should upload this content into your web site folder, this is usually under /username/domain.com/www. This will cause DNN to be your website, becoming the default page when someone visits your site. If you want to use DNN but don't want it to be the whole site, upload it into a folder called /dnn inside the /www folder and make a request with support to set that folder as its own application in IIS.

Step 7: Once the content is uploaded, visit your site install at http://www.yourdomainname.com/install/install.aspx and let the installation complete.

Step 8: Once completed it will say Successfully Finished, click Access Portal and let your DNN system load for a few seconds. Once it comes up, be sure to immediately take notice of the default Admin and Host user accounts and passwords. You should immediately login as each of these users and change the passwords to something unique that you can remember.

Add Feedback