Geeks With Blogs
John Watson The Pragmatic Enthusiast

I've got a pretty simple “cookbook” way to upgrade (or test upgrade) a DNN site which I thought I'd share. I'm using 4.x which means SQL Server 2005 and VS.NET 2005.

  1. Unzip the download to a new directory
  2. Make the new directory a virtual web share
  3. Copy/paste either development.config or release.config and rename to web.config
  4. Compare the old web.config to the new web.config (using a tool like WinMerge) and copy over the database connection string (edit to use new database name from step #5) and machine key.
  5. Copy the database - while only SQL Server needs to be running to use the site, to take advantage of the new copy database feature you must have SQL Server Agent and SQL Server Integration Services running.
  6. Open the Portal Alias table and fix up the URLs to match the new directory setup in step #2.
  7. Fire up a browser and hit the new URL - upgrade should kick off automatically and leave you with a link to the home page.

Now go cut the grass or whatever chores you've been putting off.

Posted on Monday, July 10, 2006 6:39 PM DotNetNuke | Back to top

Copyright © John Watson | Powered by: