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 ForumsAuthenticationAuthenticationRun time Error on AD WindowsSignin.aspxRun time Error on AD WindowsSignin.aspx
Previous
 
Next
New Post
8/8/2008 2:45 AM
 

Hi.

I have a fresh install of DNN 4.8.2

When I instal the AD Provider and try to login from /DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx i see the runtime error. In event viewer it like

    8/8/2008 7:32:53 AM   General Exception       AssemblyVersion: 04.08.02; PortalID: 0; PortalNa ...
AssemblyVersion: 04.08.02
PortalID: 0
PortalName: My Website
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx
AbsoluteURL: /DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f1181900-8b32-4c57-8ece-b29d3adb82de
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser(String LoggedOnUserName) at DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.AuthenticationLogon() at DotNetNuke.Authentication.ActiveDirectory.WindowsSignin.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.desktopmodules_authenticationservices_activedirectory_windowssignin_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:

And I can not login from login page (windows Login).

In IIS WindowsSignin.aspx have only integrated Windows authentication.

 

 
New Post
8/8/2008 10:11 AM
 

Have you tried using impersonation in your web.config as outlined in the documentation?

 
New Post
8/11/2008 1:05 AM
 

Yes. I'm try to uncomment the <identity impersonate="true"/>  tag and adding my username and password.

What kind of authentication must be in the IIS for my site (without WindowsSignin.aspx)?

P.S. Sorry for my english, i'm russian

 
New Post
8/11/2008 2:01 AM
 

The default Anonymous is all that's needed for the rest of the site. It's late here and I'm on my way to bed but I'll see if I can think of any other things you can try.

 
New Post
8/27/2008 8:37 AM
 

When I set <customErrors mode="Off" /> I see

[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser(String LoggedOnUserName) +69 DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.AuthenticationLogon() +254 DotNetNuke.Authentication.ActiveDirectory.WindowsSignin.Page_Init(Object sender, EventArgs e) +103 System.Web.UI.Control.OnInit(EventArgs e) +99 System.Web.UI.Page.OnInit(EventArgs e) +9 System.Web.UI.Control.InitRecursive(Control namingContainer) +321 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationRun time Error on AD WindowsSignin.aspxRun time Error on AD WindowsSignin.aspx


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