Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Help Needed: I donHelp Needed: I don't know how to upgrade a production system (Minor Vetrsion)
Previous
 
Next
New Post
12/9/2006 11:15 AM
 

I want to upgrade a DNN 4.3.5 to 4.3.7. I've tried to upgrade my production system after a complete backup and failed - the system contains some self developed modules and additionally  purchased third party modules. The first idea was, that my modules were wrong. So I installed a completely new 4.3.5, just changed a little bit the home page and the installed a new 4.3.7 and told in the web.config I want use the database from 4.3.5. After the compilation F5 (I'm using Visual Studio 2005), the browser will opened and correctly finishes the upgrade. When I try to open the portal the system tells me "The website can not be opened" (-> german: Die Webseite kann nicht angezeigt werden). The old system was http://localhost/DNN435 the new http://localhost/DNN437      

Please can you help me with the problem or do know a bullet-proof recipe for upgrade of dnn systems.

 
New Post
12/9/2006 8:11 PM
 

jascht,

Upgrading is pretty straight forward. Of course, third party module can seize to work if not certified on the new version but in most cases it will not cause your whole site to malfunction - just the pages or modules in it.

So, upgrading... first, kudos to you! - You backed up! - This is a great start.
Second, since you are working on a production server, make sure you do this when there is least traffic on the site (mostly at night is good time).

What I usually do (and mainly because I run a pretty straight-forward unmodified DNN), is delete all DNN related folders on the Web server, with the exception of the DesktopModules, bin, and Portals folders. Primarily because they contain files that may not be in the new DNN - i.e. Skins, 3rd Modules, 3rd Party Module dlls etc.

I then update the new Web.Config file with my database settings - oh, please please please do not forget to copy over your encryption keys from your original file - or no one will be able to log in to your site, including ADMIN and HOST.

Now, upload the new files - do not worry about overwriting the old files.

You should be able to now open your site and upgrade with no problems.
If you still run into issues after this, email me directly - I'll help you out.


Maxiom TechnologyAntonio Chagoury | Microsoft MVP
Maxiom Technology
Professional .net & DotNetNuke Solutions
web: www.maxiomtech.com
blog: www.cto20.com
twitter: @antoniochagoury & @maxiomtech

 
New Post
12/10/2006 9:25 AM
 

Thank you Antonio for your help but I'm still struck in this problem.

Actually I did the same way to upgrade the system but there must be a small but very importent difference you do. I think it must be the handling of the web.config file before I upgrade (compile and start F5 in VS2005) the system.

For the moment, just to find out my problem, I'm using a standard DNN 4.3.5. source and DNN 4.3.7 source(the ws is XP SP2 and MSSQL 2005). I compile the 4.3.5 and it starts without any problems. After the compilation the machineKey tag (the attributes validationKey and the decrytionKey) were changed but everything works perfect. Now I create the 4.3.7 system. I'm following two strategies to do the upgrade:

First: I create a new 4.3.7 folder and assign the ASP.NET machine account - unpack the source code to the folder - create a new virtual folder in the IIS (-> localhost/DNN437) - change the VS2005 project file (.sln) corresponding to the poaths - then do I update the web.config file (take the two keys and the data source) - I compile and start - the upgrade process starts and finishes without any errors - then I want to go to my portal ("Click Here To Access Your Portal") but nothing happens as there were be no site

Second: I copied the source code over the old one -  updated the web.config file - compiled and started - upgrades finished without errors - then I want to go to my portal ("Click Here To Access Your Portal") but nothing happens

The funny thing is - it's the same result without any errors. The database ist upgraded (it tells me in a later attemption that the current database version is 04.03.07) and the assembly is the current version (to 04.03.07). When neccesary (the first upgrade strategy), I added a second PortAlias (localhost/DNN435, localhost/DNN437) for the default portal.

 I'm really run out of more ideas to solve the problem. Any help is welcome.

 
New Post
12/10/2006 10:20 AM
 

jascht,

Can I ask why you are running the site from VS2005? In other word, you are recompiling the solution before running it. You only need to do this if you change something in the DNN framework code.

Try upgrading normally without compiling - just point your browser to the url - here are the steps you should follow:

  1. Download DotNetNuke_Install.zip from dnn.com
  2. Extract the files on your drive (i.e. c:\inetpub\wwwroot\dnn437)
  3. Assign folder permissions (XP = ASPNET, Win2003 = NETWORK SERVICE)
  4. Create Virtual Directory in IIS and point to this folder (Make sure you assign the correct version of .net to it. if DNN 4.x = ASP.net 2.0, if DNN 3.x = ASP.net 1.1)

If you are upgrading, then:

  • Modify the Web.config database connection string to point to your database
  • Copy over your old decryptionKey and validationKey

If you are installing fresh

  • Create and Empty database (i.e.: Dnn437)
  • Modify the Web.config database connection string to point to your database

Now open your browser and point to the Virtual directory you created (i.e. http://localhost/dnn437)
Dnn will go through the install/upgrade.

If this does not work, then something else is wrong. I'll help - don't worry.


Maxiom TechnologyAntonio Chagoury | Microsoft MVP
Maxiom Technology
Professional .net & DotNetNuke Solutions
web: www.maxiomtech.com
blog: www.cto20.com
twitter: @antoniochagoury & @maxiomtech

 
New Post
12/10/2006 10:59 AM
 

Normally I try to let the framework code untouched. When upgrading, it brings along a lot of work and normally new errors. I develop multilanguge sytems (EN, DE) with customized desktop modules. There are a very, very few lines I have to change the framework but it is a must. In the future we'll try to sell this modules (asset management system). We' ve now  finished the "alpha site" version - in the past an upgrade was not really important, but now we will present the site and the modules.

Your 4 points are clear for me (the 3. when you have a XP using the local IIS but you've behind the firewall a AD with Win2003 Server and outside the production W2k3 server)

I think the next passage your writed is now very interesting: do you overwrite the keys (decryptionKey and validationKey) in your old web.config file (+datebase) with the new the come along with the new version (from release.config) and use it then or do you take the new web.config and insert your old keys ?       

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Help Needed: I donHelp Needed: I don't know how to upgrade a production system (Minor Vetrsion)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out