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 ForumsAuthenticationAuthenticationOnAuthenticateRequest - System.NullReferenceExceptionOnAuthenticateRequest - System.NullReferenceException
Previous
 
Next
New Post
8/12/2009 11:56 AM
 

Hello,
I use DNN 4.9.3 and ActiveDirectory_01.00.06  (IIS6 , W2003).
It works ok , but Event Viewer has more exceptions
***********
AssemblyVersion: 04.09.03
PortalID: 0
PortalName: Stikonet
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ef9faf70-e35b-4573-a8c2-d5abfe4c44cc
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:
*************
What maybe?

Thanks ,

Kirill.

 
New Post
8/13/2009 4:16 PM
 

I'm not sure at this point. Does it coincide with users logging into the site?

 
New Post
8/14/2009 12:02 PM
 

Thanks for answer.
>>I'm not sure at this point. Does it coincide with users logging into the site?
I'm not sure too, I try to reproduce it but without results yet .
Users login ok , but Event Viewer fixs more exceptions.

Some time ago I upgraded dnn 4.9.0 to dnn 4.9.3 ,
ActiveDirectory_01.00.05 to ActiveDirectory_01.00.06 (beta) => ActiveDirectory_01.00.06 (release) now.
Site uses Active Directory Login (DNN Login - disabled)
Active Directory Settings:
Enabled? : check
Hide Login Controls? : uncheck
Synchronize Role? : uncheck
Do Not Automatically Create Users? : uncheck
Provider : ADSIAuthenticationProvider
Authentication Type : Delegation
Root Domain: DC=STIKONET,DC=OD,DC=UA
User Name: STIKONET/AD_Provider
Email Domain: @stikonet.od.ua
Default Domain: STIKONET
Auto-login IP Address (Optional): 192.168.1.2
*********
web.config
...
    <httpModules>
      <!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->
      <add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" />
      <add name="RequestFilter" type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules" />
      <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" />
      <add name="Exception" type="DotNetNuke.HttpModules.Exceptions.ExceptionModule, DotNetNuke.HttpModules" />
      <add name="UsersOnline" type="DotNetNuke.HttpModules.UsersOnline.UsersOnlineModule, DotNetNuke.HttpModules" />
      <add name="DNNMembership" type="DotNetNuke.HttpModules.Membership.MembershipModule, DotNetNuke.HttpModules" />
      <add name="Personalization" type="DotNetNuke.HttpModules.Personalization.PersonalizationModule, DotNetNuke.HttpModules" />
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      <add name="Authentication" type="DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule, DotNetNuke.Authentication.ActiveDirectory" />
    </httpModules>
...
<authentication mode="forms">
...

Thanks,
Kirill.

 
New Post
8/16/2009 10:28 AM
 

We fixed problem (but i not sure).
We looked through
(W2003Server)Computer Management =>
System Tools=>Event Viewer =>Application :
These errors comes from one IP Address ,  we blocked this IP now . Hmm...
Thanks ,
Kirill.

 
New Post
9/12/2009 3:11 PM
 

Hello.
We continue to get errors same as I put at my first post.
********
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 ---
********
It's not from one IP address.
But it begins to appear at one IP , for example
12.09.2009 12:28:46   General Exception       AssemblyVersion: 04.09.05; PortalID: 0; PortalNa
12.09.2009 12:28:47   General Exception       AssemblyVersion: 04.09.05; PortalID: 0; PortalNa
12.09.2009 12:28:47   General Exception       AssemblyVersion: 04.09.05; PortalID: 0; PortalNa
12.09.2009 12:29:09   General Exception       AssemblyVersion: 04.09.05; PortalID: 0; PortalNa
12.09.2009 12:29:09   General Exception       AssemblyVersion: 04.09.05; PortalID: 0; PortalNa
12.09.2009 12:29:09   General Exception       AssemblyVersion: 04.09.05; PortalID: 0; PortalNa
12.09.2009 12:29:26   General Exception       AssemblyVersion: 04.09.05; PortalID: 0; PortalNa
12.09.2009 12:29:27   General Exception       AssemblyVersion: 04.09.05; PortalID: 0; PortalNa
...
12.09.2009 12:37:52   General Exception       AssemblyVersion: 04.09.05; PortalID: 0; PortalNa
So we get around 100 equal errors only from 12:28:46 to 12:37:52.
Can you give me any idea how to solve this problem ?
Thanks,
Kirill.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationOnAuthenticateRequest - System.NullReferenceExceptionOnAuthenticateRequest - System.NullReferenceException


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