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 ... Cannot register or retrieve components until ComponentFactory.Container is set Cannot register or retrieve components until ComponentFactory.Container is set
Previous
 
Next
New Post
6/28/2009 6:45 AM
 

Hi everybody, I've got a problem when I instal DNN 5.1.0 with SqlServer express 2008. So First thing first, I did in order this:

a) download DotNetNuke 5.1.0 Install, paste it on my computer C:\dotnetnuke, configure it by creating new Virtual Directory with IIS version 5.1

b) Instal sqlserver express 2008, Create a DotNetNuke database in SQL Server (dnn_sites), Under Security, right-click on Logins and create New Login (dnn_user),

In the database I created, under security right-click on Users and select New User whish was the account I created before (dnn_user) and  select db_owner for both "Schemas owner by this user" and "Database role membership".

c) Right-click on a directory (dotnetnuke) and select Properties, On the Security tab, add NETWORK SERVICE and give it Full Control.

web config changed to :

 <connectionStrings>
       <!-- Connection String for SQL Server 2000/2005-->
    <add name="SiteSqlServer" connectionString="Server=(local);Database=dnn_sites;uid=dnn_user;pwd=mypassword;" providerName="System.Data.SqlClient" />   </connectionStrings>

 

and

 

<appSettings>
      <add key="SiteSqlServer" value="Server=(local);Database=dnn_sites;uid=dnn_user;pwd=mypassword;"/>

In my web browser,  i put this http://localhost/DotNetNuke/  and i got this error:

Server Error in '/DotNetNuke' Application.

Cannot register or retrieve components until ComponentFactory.Container is set

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

Source Error:

Line 132:            Initialize.Init(app)

Stack Trace:

[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:\DotNetNuke\App_Code\Global.asax.vb:132
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082   thank you in advance.

 
New Post
6/28/2009 9:11 AM
 

problem solved just one character displaced on webconfig file ...;(

 

thank you

 
New Post
10/19/2009 12:54 PM
 

I am having the same problem what character was displaced?

Thanks,

 

 
New Post
2/18/2010 9:28 AM
 

Hi,

I also had the same problem earlier.

After reading this thread I opened my web.config file and pressed ctrl+Z for several times and saved it. When I try to run the dotnetnuke applciation it worked fine.

I observed that my web.config file was modified unfortunately. when I pressed ctrl+Z it was replaced with old information. This fixed the issue.

If you are unable to rollback your web.config file replace it with old web.config file which is in your backup repository.

Thank you,

Srinivas N

 
New Post
3/15/2010 2:03 PM
 

FYI  I had this same error after repartioning my C: drive.   One thing to always try with DNN issues IS to delete DNN files in Framework directory and allow Dnn to rebuild itself.  Typical location

$\WINDOWS\Microsoft.NET\Framework\v2.... ASP.NET Files\DNN

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ... Cannot register or retrieve components until ComponentFactory.Container is set Cannot register or retrieve components until ComponentFactory.Container is set


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