DNN Version 4.4.1
O/S: Win XP SP2
Here's something interesting.
On my local machine, when DNN is pointing to a SQL Server 2000 DB, everything works fine and very well.
I trying to move to Sql Server Express 2005. When DNN is pointing to that new DB, I get some error.
Connection string:
Data Source=.\SQLExpress;Integrated Security=True;Initial Catalog=MyDB;
With Sql Server Express 2005, my site is running and is displaying data. When I try to update some pages (for example, saving the portal values), I get:
WebForm_PostBackOptions is undefined. I know this is .NET's javascripts not being added to the page. So I went and look at the Logs and it seems that the GetConfig from the authentication object is crashing:
FileName: C:\Inetpub\Verti4\Library\Components\Authentication\Configuration.vb
FileLineNumber: 163
FileColumnNumber: 17
Method: DotNetNuke.Security.Authentication.Configuration.GetConfig
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Security.Authentication.Configuration.GetConfig() in C:\Inetpub\Verti4\Library\Components\Authentication\Configuration.vb:line 163 at DotNetNuke.HttpModules.AuthenticationModule.OnAuthenticateRequest(Object s, EventArgs e) in C:\Inetpub\Verti4\Library\HttpModules\Authentication\AuthenticationModule.vb:line 51 at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
If I remove this line of code in the Web.Config's HTTPModule section, it works
<
add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" />But I guess it's only because it's not performing this authentication anymore.
What am I missing? This is the only change to the environment.
Why would pointing my DB to Sql Server 2005 Express have an impact on the Authentication class?
Carl Couture