DotNetNuke - DNN Installation Upgrade Options and Instructions
The information in this article applies to:
DotNetNuke - DNN
Upgrade Installation Options
DotNetNuke Upgrade Instructions -- DotNetNuke problems logging in after upgrade solution
If the DNN installation uses third-party modules that includes custom entries in the web.config file, the customer should consult with their vendor on the best way to perform an upgrade.
1. Rename the web.config file old_web.config
2. Extract DotNetNuke upgrade package
Now you need to extract all files from the DotNetNuke upgrade package into your root DNN folder or sub-folder if DNN is installed to a sub-folder. You will need to confirm the overwriting of your files. Once this process has completed, rename the release.config file to web.config and perform the following steps using the information from your old_web.config file
3. Update Connection Strings
Be sure that the proper connection strings are loaded for your setup, both in the <connectionstrings>and <appsettings> sections of your web config, examples are provided below.
< add name ="SiteSqlServer" connectionString ="<yourconnectionhere>" providerName ="System.Data.SqlClient" />
<!-- Database connection string (SQL Server 2000 or 2005 - kept for backwards compatability - legacy modules -->
< add key ="SiteSqlServer" value ="<yourconnectionhere>" />
4. Turn off AutoUpgrade
5. Copy Machine Key and Validation Key Values
Another very important item to copy over is your machine and validation keys from the old_web.config file. These are the keys used to encrypt and decrypt passwords and other information within your application. Failure to do this will result in your users including the admin and host user not being able to login. Below is an example of the machine key, the values you will be concerned with are the ones that note "<value to copy>".
< machineKey validationKey ="<value to copy>" decryptionKey="<value to copy>" decryption="3DES" validation="SHA1" />
6. Check and Update ObjectQualifer Line if necessarey
When Re-invent performs a free installation of DotNetNuke - DNN to a customers site we use an ObjectQualifer on line 321 in the web.config file before installation. For example, if installing DNN v4 we change this line:
7. Start Upgrade Process
After completing the above setup you are now ready to start the upgrade process. You will want to delete your app_offline.htm file if you created one so that you can access your site again. Now simply navigate to <yourSite>/Install/Install.aspx?mode=upgrade. Once the page appears you should see a status screen that shows you the progress as the site is upgraded. At the end you should see an upgrade complete message with a link to your portal. You should not see ANY errors on this page, if you encountered an error be sure to note ALL information displayed so you can investigate the issues.