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?