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 ...Upgrade issues to R5. ComponentFactory.Container Upgrade issues to R5. ComponentFactory.Container
Previous
 
Next
New Post
12/29/2008 4:50 PM
 

Hi, Have anyone seen this error, and have a clue what is missing?
 - System.InvalidOperationException: Cannot register or retrieve components until ComponentFactory.Container is set
 

 
New Post
12/29/2008 5:12 PM
 

This is how it looks like. It shows up before any upgradescripts runs.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Source Error:

Line 80: 
Line 81:             'Determine the Upgrade status and redirect to Install.aspx
Line 82:             Select Case GetUpgradeStatus()
Line 83:                 Case Globals.UpgradeStatus.Install
Line 84:                     If AutoUpgrade Then

Source File: x:\dnn\App_Code\Global.asax.vb    Line: 82

Stack Trace:

[InvalidOperationException: Cannot register or retrieve components until ComponentFactory.Container is set]
   DotNetNuke.ComponentModel.ComponentFactory.GetComponent() +58
   DotNetNuke.Common.Globals.GetStatus() +51
   DotNetNuke.Common.Globals.GetUpgradeStatus() +5
   DotNetNuke.Common.Global.CheckVersion() in x:\dnn\App_Code\Global.asax.vb:82
   DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in x:\dnn\App_Code\Global.asax.vb:281

Server Error in '/' Application.

Cannot register or retrieve components until ComponentFactory.Container is set

 


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

 
New Post
12/29/2008 6:38 PM
 

hi,

I am also encountering problems by upgrading a 3 version to a 5 version. I have ripped out all third-party desktopmodules and dll's from the bin to make sure I can upgrade to version 5....unfortunately this did not help for me..but it is maybe an idea for you?

J.

 
New Post
12/29/2008 6:52 PM
 

Store Integrator, I can see you already have a post for your issue, please keep to that post as this is a different issue.

Cent - What version did you upgrade from?
Can you log in?
Are you sure the skin/containers files correctly installed and are in the right place?
Can you change the skins/containers settings? If so try.





 



Alex Shirley


 
New Post
12/29/2008 6:59 PM
 

Hi, this is the DNN version I have, and I also included the installed modules and their versions used within the site.  Could the skin cause this error? I have tried to change the skin, but it seemed to have no effect. Basically I need to understand the Usage of ComponentFactory.Container in order to track back the error.  is it DB related, Module management or skin related?

I'm unable to login as the site crashes on the above error. I replaced my custom skin with DNN-Blue (both Skin and Container) however this did not work. But If I could be better informed regarding the componentFactory, I should be able to force  myself throught this problem.

04.05.01
SqlDataProvider
2.0.50727.1433

  Account Login Allows users to login to the portal. 01.00.00
  Announcements This module renders a list of announcements. Each announcement includes title, text and a "read more" link. 03.04.00
  Banners Banner advertising is managed through the Vendors module in the Admin tab. You can select the number of banners to display as well as the banner type. 01.00.00
  Chat This module allows users to chat with other users on the website. 01.00.01
  Contacts This module renders contact information for a group of people, for example a project team. Contacts includes an edit page, which allows authorized users to edit the Contacts data stored in the database. 03.01.00
  Documents This module renders a list of documents, including links to browse or download the document. Documents includes an edit page, which allows authorized users to edit the information about the Documents (for example, a friendly title) stored in the SQL database. 03.01.06
  Events This module renders single and recurring events and includes Master and Sub Calendars with Event Rollup, TimeZone Adjustment, Event Enrollment, and Event Notification. 03.03.08
  FAQs FAQs allow you to manage a list of Frequently Asked Questions and their corresponding Answers. 04.04.00
  Feedback Feedback allows visitors to send messages to the Administrator of the portal. 04.04.01
  Help The Help Module renders tutorials in a structured manner and allows for easy navigation of the tutorials. 03.00.01
  IFrame The HTML iframe creates an inline frame that contains another document, which can be located on your or any other site. 03.02.01
  Links This module renders a list of hyperlinks. Links includes an edit page, which allows authorized users to edit the Links data stored in the SQL database. 03.03.06
  Media This module renders Media files. The module looks at the file extension and create the correct tag block to render the media in the browser. 03.02.03
  News Feeds (RSS) News Feed allows you to consume syndicated news feeds in Rich Site Summary (RSS) format. 03.01.01
  Reports This module displays a report based on the results of a SQL Query. The display is controlled by selecting one of many Visualizers to display the data, ranging from a Grid to an HTML Template and even more! 04.05.02
  Repository A file/object repository module that includes skinning and community features like comments and user ratings. 03.01.12
  Repository Dashboard A Dashboard companion module for the Repository Module. Lists categories and top n lists such as most downloaded, latest files, etc. 03.01.12
  Search Input The Search Input module provides the ability to submit a search to a given search results module. 01.00.00
  Search Results The Search Reasults module provides the ability to display search results. 01.00.00
  Survey Survey allows you to create custom surveys to obtain public feedback 04.00.85
  Text/HTML This module renders a snippet of HTML or text. The Html/Text module includes an edit page, which allows authorized users to the HTML or text snippets directly. The snippets are stored in the SQL database. 03.03.00
  User Account Allows users to register and manage their account. 01.00.00
  User Defined Table User Defined Table module allows editors to create a custom data table for managing tabular information with individually defined fields (columns). Users can be allowed (by security roles) to add, edit or delete own or all users data. Besides default grid rendering, data display can be optionally formatted using XSL stylesheets. 03.03.03
  UsersOnline Users Online allows you to see who is online in your portal, and see membership counts 03.01.00
  Whats New? This odule allows users to view a list of the most recently added or updated content. Administrators can control the maximum (and minimum) number of items to display as well as the date range to search. 03.03.00
  XML/XSL This module queries XML Data from a file or an http request, transforms the XML data using an XSL transformation and returns the result back to the user. 04.03.04

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade issues to R5. ComponentFactory.Container Upgrade issues to R5. ComponentFactory.Container


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