DNN Blog

MetaWeblog URL:

Upgrading DotNetNuke

Return to Previous Page

  • 6/12/2007
  • 1638 Views

A frequent question in the  forums is "How to upgrade my DotNetNuke install".. I thought i'd post a brief guide here for easy ref

  • download the upgrade package of the version you wish to upgrade to
  • unzip or copy or ftp all files in the zip file to the root of your dnn application
  • rename web.config to something like web.config.date.resources (you can use any other name, but the date will make it easy to keep track of older webconfigs, the .resources extension makes sure the file cannot be downloaded)
  • rename release.config to web.config
  • change the following things (copy from old web.config file):
    • 2 sql connection strings
    • machinekey (under system.web)
    • optionally objectQualifier and/or DBO (under  )
    • optionally make any other custom changes you had in your old web.config
    • save the new web.config
  • browse to your site, upgrade will start automatically

if you want to prevent visits to your site while you are upgrading, you can do the following:

  • before copying the upgrade files to your site, put a file called "App_Offline.htm" in the root of your dnn installation, this will take the application offline (see here for more info: http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx )
  • Change the AutoUpgrade value to False (under appsettings in web.config). This will prevent the dnn autoupgrade feature.
  • You can manually start the upgrade by browsing to this url: http://yourdomain/install/install.aspx?mode=install

Comments on this are welcome, but please no discussion!

Author:

Erik van Ballegoij

 

Erik van Ballegoij is Senior Developer at DotNetNuke Corporation, based in the European office in Amsterdam, The Netherlands. He is responsible for providing third tier support to the support team and also developer support to customers and partners. His role in the engineering team is centered around localization.

Until April 2011, Erik ran a company called Apollo Software, and, as a long time member of the DotNetNuke eco system, created numerous custom modules, and a suite of multi lingual modules. In 2010 Erik was one of 4 founders of the exciting new Dutch DotNetNuke expert cooperative 40Fingers. 40Fingers is able to offer every DotNetNuke service from site design to custom application development to hosting.

Erik is board member of the Dutch DotNetNuke user group and founding member of theEuropean DotNetNuke professionals network


Connect with me here:
Erik van Ballegoij on Twitter Erik van Ballegoij on LinkedIn 

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DNN Blog Archive

Blog Calendar

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.