How to Upgrade Existing Installations to DotNetNuke Version 5

 It is highly recommended that the administrator take a back up of the whole website and database along with web.config file before starting upgrade process. It is also a good practice to upgrade your DNN version at your localhost and understand the process clearly before you move it to your live site. After you get your copy upgraded with the latest version, it is very essential to test the whole site along with all third party modules you have used in your site and look if all the modules are compatible and working fine with the latest version of DNN you upgraded with. It is really good to keep updating your DNN version once it is released by DotNetNuke group.

When To Upgrade:
If you are upgrading your site locally then you can upgrade it at any point of time. But if you upgrade your live site then it is a good practice to upgrade your site when less number of user are access your site, preferably at midnight. If you are using install “User Online” module then you can easily track the user traffic of your site and do the upgrade process when less number of user are using your site.

Upgrading DotNetNuke:
Here I am discussing the process of upgrade from DNN 4.9.4 to DNN 05.01.04. You can follow the same steps for upgrading from your current version to any latest DNN version.

 ~ Take a complete backup of your entire website.

 ~ Take a complete backup your database.

 ~ Take a back up your web.config file.

 ~ Rename the web.config file to backupweb.config

 ~ Take a back up your other files like custom error pages, fav.ico etc.

 ~ Download the DotNetNuke (DNN 05.01.04) from the DotNetNuke site.

 ~ Unzip the downloaded Installation folder.

 ~ Open the web.config file of the newly downloaded folder (DNN 05.01.04)

 ~ Open the backupweb.config file.

 ~ Modify the SQL connection strings in web.config file. There are two places, you can get the string from your original backupweb.config file

(A) Copy the connection strings form backup file (backupweb.config) and paste is in web.comfig file under ConnectionStrings.


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

<addname="SiteSqlServer"connectionString="Data Source=458.236.25.29;Initial Catalog=MfsReport;User ID=userid;Password=password"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" />



(B)  Copy the connection strings form backup file (backupweb.config) and paste is in web.comfig file under appsettings.

<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules -->

<addkey="SiteSqlServer"value="Data Source=458.236.25.29;Initial Catalog=MfsReport;User ID=userid;Password=password" /> 

~ Copy the Machinekey ValidationKey and Description key values from your backupweb.config file to web.config file.

<machineKeyvalidationKey="8E04731852A7A16B1C70CE67CD4BE8B40A4B6A16"decryptionKey="E5499A1ED3D9AC245BCA138E8FBDC4286A3839D0C8DEFA0F"decryption="3DES"validation="SHA1" />

~ If you have made any further changes to your web.config file for third party modules, HTTP compression, or database object qualifiers, copy these changes across to the new web.config file from your backup.config file.

Important Note: If you upgrade the DNN version at your live site then make the

<addkey="AutoUpgrade"value="true " />


<addkey="AutoUpgrade"value="fakse" />

So that user will not get any error message if they access your site at the same time when you do the upgrade process.

 ~ Save the web.config file.

 ~ Now the first file to move from the lastest version of DNN folder to the old version of DNN folder is dotnetnuke.dll file.
The reason is to inform your user that you are upgrading the website and it will now display an under construction page.

 ~ Now copy all the new file including web.config file and paste it at the old DNN folder.

 ~ Now run the site at browser with URL like

 Note: I assumed the site name as

 ~ Now application will trigger the installation process and you will see the message like “Upgrade Complete” and “Click Here To Access Your Portal”

 ~ Click on the link “Click Here To Access Your Portal” to access your portal.

 ~Login with Host account and go to 'Host Settings' then you will see the latest DNN version under “DotNetNuke Version” column.


Contact Us



Captcha Image

Why Choose Us

Wide Portfolio of Services

Domain Intensive Value Proposition

Technological Excellence across platforms 

Avail competitive pricing (Reduce 70% cost, ensure 100% quality)

Get 4 weeks complimentary Risk-Free Trial*

We Build Innovative Applications: Browse through our Intellectual Property

Client Testimonial

StartQuotes"Mindfire has enabled us to reduce costs and increase productivity. The team we have provides fast and reliable development support. We are very happy with the level of service from Mindfire." - Ken Morency, IceFire Studios Corp.

More Client Testimonials

News & Updates

  • November 19

    20th Year Anniversary Celebration at Malaysia

  • March 19

    Ninth Edition: DDMIT Quiz

Let us Connect!

Awards and Achievements

Red Herringcolor DeloitteFast50 DB ZInnov1   Nascome  DB Stpi

This site uses cookies. We respect your privacy.copyright (c) Mindfire Solutions 2007-2018. Login