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.