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 ...5.01 upgrade errors (DotNetNuke.Services.Exceptions.ModuleLoadException)5.01 upgrade errors (DotNetNuke.Services.Exceptions.ModuleLoadException)
Previous
 
Next
New Post
2/9/2010 11:14 AM
 

trying to upgrade from 4.09 to 5.01, but I'm always scared to try and upgrade DNN, so I created a new instance of the site and database (thank God) and tried updating this instead of messing with the deployed site.  Here are the steps I took:

1) Backup live database
2) Restore backup as new database
3) Create new website in IIS
4) Copy old physical website directory to new folder

5) **Modify new web.config file: SqlConnection "SiteSqlServer" points to new database**

6) Give new website a temporary host header name
7) Change .Net version on new site from 1 to 2
8) Add "Default.aspx" as a default content page
9) Successfully accessed new Site
10) Copied upgrade files into new physical directory
11) Ran upgrade install from http://mysite.com/install/install.aspx?mode=install

12) Encountered the following Errors:
Upgrade Status Report

00:00:00.031 - Upgrading to Version: 05.01.00
00:00:00.062 -   Executing Script: 05.00.00.SqlDataProvider Error! (see 05.00.00.log for more information)
00:00:03.859 -   Executing Script: 05.00.01.SqlDataProvider Success
00:00:04.281 -   Executing Script: 05.01.00.SqlDataProvider Error! (see 05.01.00.log for more information)
00:00:06.125 -   Executing Application Upgrades: 05.00.00 Error!
00:00:26.625 -   Executing Application Upgrades: 05.00.01 Success
00:00:26.625 -   Executing Application Upgrades: 05.01.00 Error!
00:00:26.718 -   Cleaning Up Files: 05.00.00 Error!
00:00:26.765 -   Cleaning Up Files: 05.00.01 Success
00:00:26.781 -   Cleaning Up Files: 05.01.00 Success
00:00:26.843 -   Updating Config Files: 05.00.00 Success
00:00:26.843 -   Updating Config Files: 05.00.01 Success
00:00:26.843 -   Updating Config Files: 05.01.00 Success
00:00:26.843 - Performing General Upgrades

13) Turned Custom Errors off - error was permissions on subfolders
14) Added NETWORK SERVICE as full permission users on the new folder
15) Could not get installer to rerun - deleted all files from new folder
16) Copied all files from original folder
17) Re-copied install files to new folder
18) Replaced database with clean backup again
19) Modified web.config to point to new database

20) Same Error Log:
Upgrade Status Report

00:00:00.015 - Upgrading to Version: 05.01.00
00:00:00.109 -   Executing Script: 05.00.00.SqlDataProvider Error! (see 05.00.00.log for more information)
00:00:02.421 -   Executing Script: 05.00.01.SqlDataProvider Success
00:00:02.656 -   Executing Script: 05.01.00.SqlDataProvider Error! (see 05.01.00.log for more information)
00:00:03.921 -   Executing Application Upgrades: 05.00.00 Error!
00:00:14.203 -   Executing Application Upgrades: 05.00.01 Success
00:00:14.218 -   Executing Application Upgrades: 05.01.00 Error!
00:00:14.296 -   Cleaning Up Files: 05.00.00 Success
00:00:14.375 -   Cleaning Up Files: 05.00.01 Success
00:00:14.375 -   Cleaning Up Files: 05.01.00 Success
00:00:14.421 -   Updating Config Files: 05.00.00 Success
00:00:14.421 -   Updating Config Files: 05.00.01 Success
00:00:14.421 -   Updating Config Files: 05.01.00 Success
00:00:14.437 - Performing General Upgrades
00:00:14.531 - Installing Optional Modules:
00:00:14.531 -   Installing Package File HTML_Community_05.01.00_Install:

 

The site now loads and runs so long as I am not logged in as host, but when I login as host, I get the following error at the top of all pages:

An error has occurred.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Globals.FormatVersion(Version version, String fieldFormat, Int32 fieldCount, String delimiterCharacter) at DotNetNuke.Services.Upgrade.Upgrade.UpgradeIndicator(Version Version, String PackageType, String PackageName, String Culture, Boolean IsLocal, Boolean IsSecureConnection) at DotNetNuke.Services.Upgrade.Upgrade.UpgradeIndicator(Version Version, Boolean IsLocal, Boolean IsSecureConnection) at DotNetNuke.UI.ControlPanels.IconBar.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

When I check the Admin -> Log Viewer, here are the details:

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 6a0fbfb8-4e8e-4773-93b6-b4c5c87ae735
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Common.Globals.FormatVersion
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Globals.FormatVersion(Version version, String fieldFormat, Int32 fieldCount, String delimiterCharacter) at DotNetNuke.Services.Upgrade.Upgrade.UpgradeIndicator(Version Version, String PackageType, String PackageName, String Culture, Boolean IsLocal, Boolean IsSecureConnection) at DotNetNuke.Services.Upgrade.Upgrade.UpgradeIndicator(Version Version, Boolean IsLocal, Boolean IsSecureConnection) at DotNetNuke.UI.ControlPanels.IconBar.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

Any ideas?  Thanks.........................

 
New Post
2/9/2010 11:36 AM
 

Is there a reason that you are not upgrading directly to 5.2.2?  There were several upgrade issues in early 5.x releases which have been resolved in the latest releases.


Joe Brinkman
DNN Corp.
 
New Post
2/9/2010 12:02 PM
 

I am stuck on SQL Server 2000 until the end of the year... doesn't 5.2.2 require the SQL upgrade?

 

I have another DNN site running on the same web server that was working fine on 5.01... since I've tried this upgrade, however, now this site is also behaving very strangely and not running my autologin routines.  Good times! ;)

 
New Post
2/9/2010 12:59 PM
 

ok... now the error magically disappeared, and the Host Settings tab says that I'm running 5.01

 

but it doesn't appear to have actually upgraded... any of the modules...

If I go to Module Definitions I get this error:

Error: Module Definitions is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/Admin/ModuleDefinitions/ModuleDefinitions.ascx' does not exist. ---> System.Web.HttpException: The file '/Admin/ModuleDefinitions/ModuleDefinitions.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...5.01 upgrade errors (DotNetNuke.Services.Exceptions.ModuleLoadException)5.01 upgrade errors (DotNetNuke.Services.Exceptions.ModuleLoadException)


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