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  |  

Maximum ASP
  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Authentication ...  Autologin Not Working W2K8 IIS7 DNN 4.8.2 AD 1.00.3
Previous Previous
 
Next Next
New Post 4/2/2008 11:21 PM
Resolved
User is offline Andrew Draut
11 posts
10th Ranked


Autologin Not Working W2K8 IIS7 DNN 4.8.2 AD 1.00.3 

We recently upgraded our webserver from w2k3 + iis6 to w2k8 + iis7.  After that I upgraded DNN from 4.7.x to 4.8.2 and the latest version of the AD provider.  Since then the autologin that was working before the DNN/AD upgrade is not longer working for windows users.

On the Admin->Authentication setting page, I get the all OK with the settings, but below the auto-login text area is the following error:
Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Access is denied. ---> System.Runtime.InteropServices.COMException (0x80070005): Access is denied. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_IsContainer() at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container) at System.DirectoryServices.DirectoryEntries.GetEnumerator() at DotNetNuke.Authentication.ActiveDirectory.Settings.CheckPipelineMode() at DotNetNuke.Authentication.ActiveDirectory.Settings.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---


I put a link on the front page of DNN that goes directly to ~/DesktopModules/AuthenticationProviders/ActiveDirectory/WindowsSignin.aspx and if anyone clicks that, it logs them in just fine for a while, then they have to click it again.  The forms auth cookies are set to expire every 60 minutes(default).

The line below is uncommented in the <httpModules> section of my web.config.
<add name="Authentication" type="DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule, DotNetNuke.Authentication.ActiveDirectory" />
The WindowsSignin.aspx file is set for WindowsAuthentication and formsAuth(defaulted) with Anon disabled.

My AppPool is running as NetworkService in ClassicMode.
I have uninstalled the AD Provider, made sure everything was gone, then reinstalled it.
I have tried deleting the cookies on my local IE, but it still does not auto-login.

Any ideas on what I'm missing?

 
New Post 4/3/2008 11:43 AM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Re: Autologin Not Working W2K8 IIS7 DNN 4.8.2 AD 1.00.3 

I'm not seeing anything obviously out of place with your setup but the error you're getting concerns me. I've seen it before but can't remember the exact cause of it or the fix. Is there anything more in the Event Viewer on the error. Also, check the IIS logs. Are you getting redirected to WindowsSignin.aspx after you've cleared your cache/cookies?

I've been running my dev system on Vista/IIS7 for the last few months but I haven't had access to a 2008 server. I've got to leave in a couple of hours on an out of town trip and won't be back until Sunday but I will see if I can get a VPC of Server 2008 for testing.

 
New Post 4/3/2008 2:28 PM
User is offline Andrew Draut
11 posts
10th Ranked


Re: Autologin Not Working W2K8 IIS7 DNN 4.8.2 AD 1.00.3 

It does not appear that DNN is redirecting to the WindowsSignin.aspx when a user hits the site.  That may be the problem right there.  How do I fix that?

 

Error from the event log in DNN:

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.08.02
PortalID: 0
PortalName: XXX
UserID: 1
UserName: XXX
ActiveTabID: 52
ActiveTabName: Authentication
RawURL: /Admin/Authentication/tabid/52/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: de057231-46f0-4af9-90ff-919a3390be9c
InnerException: Access is denied.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DirectoryServices.DirectoryEntry.Bind
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Access is denied. ---> System.Runtime.InteropServices.COMException (0x80070005): Access is denied. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_IsContainer() at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container) at System.DirectoryServices.DirectoryEntries.GetEnumerator() at DotNetNuke.Authentication.ActiveDirectory.Settings.CheckPipelineMode() at DotNetNuke.Authentication.ActiveDirectory.Settings.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: XXX

 
New Post 4/8/2008 1:57 PM
User is offline Andrew Draut
11 posts
10th Ranked


Re: Autologin Not Working W2K8 IIS7 DNN 4.8.2 AD 1.00.3 

So anyone have an idea how to get the authentication handler to point to windowssignin.aspx like it should?

 
New Post 4/8/2008 2:31 PM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Re: Autologin Not Working W2K8 IIS7 DNN 4.8.2 AD 1.00.3 

It's all done in the code but it's looking like a permission issue is preventing it from automatically hitting the page. Do some checking on Failed Request Tracing Rules for IIS 7. Perhaps we can get more information through that.

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Authentication ...  Autologin Not Working W2K8 IIS7 DNN 4.8.2 AD 1.00.3
 


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.

 


Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net
DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com
Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com

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