Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Authentication ...  Run time Error on AD WindowsSignin.aspx
Previous Previous
 
Next Next
New Post 8/8/2008 12:45 AM
User is offline Tirlah
23 posts
10th Ranked


Run time Error on AD WindowsSignin.aspx 

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 8:11 AM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Re: Run time Error on AD WindowsSignin.aspx 

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

 
New Post 8/10/2008 11:05 PM
User is offline Tirlah
23 posts
10th Ranked


Re: Run time Error on AD WindowsSignin.aspx 

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 12:01 AM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Re: Run time Error on AD WindowsSignin.aspx 

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 6:37 AM
User is offline Tirlah
23 posts
10th Ranked


Re: Run time Error on AD WindowsSignin.aspx 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Authentication ...  Run time Error on AD WindowsSignin.aspx
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP