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 ...Sql 2005 Express and DotNetNuke.Security.Authentication.GetConfig()Sql 2005 Express and DotNetNuke.Security.Authentication.GetConfig()
Previous
 
Next
New Post
8/24/2007 6:22 PM
 

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

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Sql 2005 Express and DotNetNuke.Security.Authentication.GetConfig()Sql 2005 Express and DotNetNuke.Security.Authentication.GetConfig()


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