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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationGet error page every now and thenGet error page every now and then
Previous
 
Next
New Post
8/29/2006 11:52 PM
 

 Hi

Ever since setting DNN for ad authentication im getting the below error now and then. It doesnt popup much but enough to be off concern.
Its happened when access the site
Clicking on insert image in the editor and the popup comes up with the error
And accessing a page once im already logged in

What could i do to stop this error from happening?

Server Error in '/DotNetNuke' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Security.Authentication.Configuration.GetConfig() +16
   DotNetNuke.HttpModules.AuthenticationModule.OnAuthenticateRequest(Object s, EventArgs e) +25
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87


Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
 
New Post
9/26/2006 12:01 PM
 
I'm getting the same error after upgrading to 4.3.5 with AD authentication.

It's sporadically trying to run the installation routines over again, even though web.config has a < InstallationDate > setting and the database appears to recognize that it's upgraded to 4.3.5 as well.  

I suspect that maybe something in the security area (file or DB) maybe didn't get properly upgraded, but I'm not sure where to start digging.  Another thing I have noticed is that the install error is always preceded by a httpresponse error which references UserID -1.


Here's the log dump from the error:

AssemblyVersion: 04.03.05
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /Install/Install.aspx?mode=Install
AbsoluteURL: /Install/Install.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0d3227fa-a0e3-493d-9c51-37056f014b13
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
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() at DotNetNuke.HttpModules.AuthenticationModule.OnAuthenticateRequest(Object s, EventArgs e) 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 ---
Source:
Server Name: [omitted]


AssemblyVersion: 04.03.05
PortalID: 0
PortalName: Intranet
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 26521509-00ac-425e-acaf-974d2a3c59ba
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.HttpResponse.Redirect
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: Cannot redirect after HTTP headers have been sent. at System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at System.Web.HttpResponse.Redirect(String url) at DotNetNuke.HttpModules.AuthenticationModule.OnAuthenticateRequest(Object s, EventArgs e) 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 ---
Source:
Server Name: [omitted]





 
New Post
2/1/2007 3:54 PM
 

I'm having the same problem after setting up AD Authentication with 4.3.5.  The error seems to happen the first time I attempt to browse to the site each day. It might be more frequent than that, but refreshing the browser always fixes the problem.

Also, I'm browing to the main page, but I'm getting transfered to http://wiki.nextfinancial.com/dnn/Install/Install.aspx?mode=Install, where the error shows up.

 
New Post
2/23/2007 9:12 AM
 
Anyone come up with an answer on this issue while trying to upgrade from 4.3.5 to 4.4.1?  I'm getting the same problem on an internal AD Authenticated Site, when I try to add a new Portal.  Thanks.
 
New Post
3/15/2007 10:02 AM
 
This is the same error that happened with me when I upgrade from 4.4.0 to 4.4.1.  What worked was commenting out the authentication module in the web.config (along with the other changes like machine key etc..) copying all the neccesary files over to the DNN install location, and then navigating to the install.aspx page.  Once the upgrade is complete, then un-comment the authentication module and everything should work just fine. 
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationGet error page every now and thenGet error page every now and then


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