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 ForumsAuthenticationAuthenticationQuestion about OnAuthenticateRequest...Question about OnAuthenticateRequest...
Previous
 
Next
New Post
2/26/2012 6:59 PM
 

I found that I'm being logged out randomly from my  website these days, and even worse, I'm getting this error as well. It doesn't happen all the time, so when I refresh the page it comes right. This only happens when I'm logged in. Hope anyone could help me. 

I'm in a webfarm environment. 

Server Error in '/' 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.HttpModules.Membership.MembershipModule.OnAuthenticateRequest(Object s, EventArgs e) +725
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +79
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +170


Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5456

 
New Post
2/26/2012 7:18 PM
 
Wayne, what version of DotNetNuke are you running? And is this with the default provider or are you using anything like the Active Directory provider?
 
New Post
3/1/2012 7:52 PM
 

I'm running DNN5.60. 

I'm using a third party membership provider, the developer is on holiday and I can't get hold of him now. 

It logs people out randomly and sometimes throw this error. 

2/03/2012 1:39:33 p.m.   General Exception       AssemblyVersion: 5.6.0; PortalID: 0; PortalName< ...
AssemblyVersion: 5.6.0
PortalID: 0
PortalName: The Rock
UserID: -1
UserName
ActiveTabID: 366
ActiveTabName: Home
RawURL: /DesktopModules/UniversalLogin/LoginCallback.aspx?token=pi9iYpa571V0%2bbq0MVnEe4ZAjvrIMYbsDbD0NuOLNh4%3d
AbsoluteURL: /DesktopModules/UniversalLogin/LoginCallback.aspx
AbsoluteURLReferrer: http://ul.mediaworks.co.nz/Check.aspx?thisurl=http://www.therock.net.nz/Default.aspx?articleID=18604&TabId=673&articleID=18604&host=http://www.therock.net.nz/DesktopModules/UniversalLogin/&user=
UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: be0f470c-012b-47f4-bb52-3d842784ab26
InnerException: Unhandled Error: 
FileName
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.HttpModules.Membership.MembershipModule.OnAuthenticateRequest
StackTrace
Message: System.Exception: Unhandled Error: ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.HttpModules.Membership.MembershipModule.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: MWDMZWH2


 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationQuestion about OnAuthenticateRequest...Question about OnAuthenticateRequest...


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