Relax. ASP.NET Web Hosting without the hassles. Ring 1300 787 698
(
Skip Navigation Links : Knowledge Base : DotNetNuke : Installing DotNetNuke

Installing DotNetNuke 

Installing DotNetNuke requires the following steps:

1. Choose a location

It is recommended that DotNetNuke be installed into the root directory of your web site or on a Virtual Sub Domain.

For example at http://your-site-name/ is recommended instead of http://your-site-name/dnn

A Virtual Sub Domain can optionally be setup from hostControl to install it at a location such as http://subdomain.your-site.com/

Contact Support if you require assistance in choosing a suitable location.
 

2. Install latest version of DotNetNuke from the hostControl control panel.

The latest version (4.9 at time of publication) can be installed from the "Install Applications" section of the hostControl control panel. It is regularly updated to the latest version automatically.

3. Adjust permissions from the hostControl Control Panel

a) Login to the Studiocoast hostControl Control Panel.
b) Go to the Web Applications page.
c) Select your domain from the dropdown box
e) Click edit next to the top entry in the table and tick the "ASP.NET Write" checkbox and click "OK"

4. Edit the Web.Config file.
 

a) Login to hostControl and visit the File Manager.
b) Click the domain at the top (next to Jump To) where the dnn files have been installed to.
c) Find the "web.config" file in the list and click the "TEXT Editor" link to the right.
d) In the Text Editor find the section called
 

<!-- Connection String for SQL Server 2005 Express -->
 

And change the following line:
 

connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
 

To:
 

connectionString="Server=*server*;Database=*database*;uid=*username*;pwd=*password*;"
 

Change *server*, *database*, *username*, *password* to equal those for the SQL Database you have created for your account.
You can find the connection details from the Database Manager within hostControl.

Also change the following line:
 

<add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
 

To:
 

<add key="SiteSqlServer" value="Server=*server*;Database=*database*;uid=*username*;pwd=*password*;" />
 

Change *server*, *database*, *username*, *password* to equal those for the SQL Database you have created for your account.
You can find the connection details from the Database Manager within hostControl.

4. Run the DotNetNuke installation wizard.


The installation wizard is at the address http:// your web site domain /install/installwizard.aspx

On the first page click the "Auto" option and click Next.

Important: As of version 4.9 the other two options are broken and will not work correctly, so make sure Auto is selected.
5. Test!
Open up the location in your browser and the web site should come up to the default DotNetNuke page.
If an error comes up straight away, don't panic! There are a couple of things to look out for:

a) Go over the web.config to ensure that there aren't any stray commented out sections that might break the config.

b) Double check the SQL Server details are the same as those listed from the hostControl Database Manager. Note that you may need to type in the username and password instead of copying and pasting to prevent any spaces from being inserted.
 

 

)