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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN 5 upgrade errorDNN 5 upgrade error
Previous
 
Next
New Post
8/11/2009 1:26 PM
 

Check the version of the DotNetNuke.dll in your bin directory.  I experienced the same error, and it occurred after compiling a module that had a reference to the 4.9.0 version of the dll.  The compilation overwrote the 5.1.1.98 version of DotNetNuke.dll with the 4.9.x version.  Once I updated the references in my module's project, it worked fine. 

 
New Post
10/12/2009 12:32 AM
 

i am upgrading from dnn 4.9.3 to 5.1.4. and I also ran into this error ....


 

Exception Details: System.InvalidOperationException: Cannot register or retrieve components until ComponentFactory.Container is set

Line 81:

Line 82: ' all of the logic which was previously in Application_Start was moved to Init() in order to support IIS7 integrated pipeline mode ( which no longer provides access to HTTP context within Application_Start )

Line 83: Initialize.Init(app)

Line 84:

Line 85: ' run schedule if in Request mode
 


[InvalidOperationException: Cannot register or retrieve components until ComponentFactory.Container is set]DotNetNuke.ComponentModel.ComponentFactory.VerifyContainer() +57
DotNetNuke.ComponentModel.ComponentFactory.GetComponent() +12
DotNetNuke.Common.Globals.GetStatus() +62
DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) +424
DotNetNuke.Common.Initialize.Init(HttpApplication app) +152
DotNetNuke.Common.Global.Global_BeginRequest(Object sender, EventArgs e) in C:\IQSys\iqDNN\App_Code\Global.asax.vb:83
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

  For me, it turned out that the AssemblyInfo.vb and Global.asax.vb did not upgrade ! In my newly upgraded bin, In the AssemblyInfo.vb , there is a line that said ....
<Assembly: AssemblyVersion("4.9.3.21")>
I should have had the one that says .....
<Assembly: AssemblyVersion("5.1.4.3")>

 So, what happened here ? From doing some googling, turns out that when I unzipped my DotNetNuke_Community_05.01.04_Upgrade.Zip, I didnt know that I had to Unblock the zip file BEFORE unzipping in order to get the right Assembly.vb and Global.asax.vb files.

  I never ran into this one anything. But I looked in the folder where I unzipped the upgrade when I didnt Unblock the zip, and right clicked on the AssemblyInfo.vb, and instead of seeing properties, It tried to run a program.
  I went to the zip file, right clicked and Unblocked the zip (there was a button there to Unblock, once I unblocked it, the button disappeared). I unzipped the zip to another directory and I right clicked on the AssemblyInfo.vb and it gave me the option to "Open with", like I expected to see.
  I replaced the Assembly.vb and Global.asax.vb in my newly upgraded bin with the ones with the correct Assembly.vb version statement, did a rebuild and my DNN page came up.

  What I found from googling was that XP does this ?, and, it may have a problem (an official Microsoft Bug). If you dont see the Unblock, you may have to email the zip to yourself and download it again. Thats what I read anyway.

  Intrestingly, and just FYI, the total file count for an unblocked unzipped folder was 2 files different than the blocked unzipped folder. But, its the Blocked zip that unzips and shows 2 extra files. These two files are the Assembly.vb and Global.asax.vb in a different format ?
 

 

 

 
New Post
10/12/2009 10:28 AM
 

  Sorry, I meant the Assembly.vb and Global.asax.vb in my APP_CODE folder !!!!!!!!!!!!!!!!!!!!!!!!!!!

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN 5 upgrade errorDNN 5 upgrade error


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