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 ForumsAuthenticationAuthenticationSystem.Exception: Unhandled Error  System.NullReferenceException: Object reference not set ......System.Exception: Unhandled Error System.NullReferenceException: Object reference not set ......
Previous
 
Next
New Post
4/6/2011 1:54 PM
 

In website Log viewer, everyday I got the messages "System.Exception: Unhandled Error: ---> System.NullReferenceException: Object reference not set to an instance of an object." Please anyone help me to understand what is that and how to solve it? Thanks.

AssemblyVersion: 5.6.0
PortalID: 0
PortalName:
UserID: -1
UserName:
ActiveTabID: 245
ActiveTabName: Daily News Brief
RawURL: /Communications/DailyNewsBrief.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 254bdef9-ac5a-4863-97c1-185f7ad25a59
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule.OnAuthenticateRequest
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.Authentication.ActiveDirectory.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:
 
New Post
4/7/2011 10:21 AM
 
You're getting that error probably because something is hitting your site with a blank Useragent. This is fixed in the next version that's currently in testing and will hopefully be out in beta next week.
 
New Post
8/24/2013 1:35 AM
 
Has this regressed? I'm seeing this exact same exception: blank user agent, NullReference somewhere in the ActiveDirectory module for a request hasn't even logged in yet. The Active Directory module is installed and in use here. Currently on 7.0.6
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationSystem.Exception: Unhandled Error  System.NullReferenceException: Object reference not set ......System.Exception: Unhandled Error System.NullReferenceException: Object reference not set ......


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