Current Setup:
DotNetNuke 5.1.0
DNN_ActiveDirectoryAuthentication 5.0.2
Server 2008/IIS7
Using forms Authentication with Impersonation
I've installed the IIS6 Compatibility package and followed the steps in the Server 2008/IIS7 thread. www.dotnetnuke.com/Community/Forums/tabid/795/forumid/89/threadid/316627/scope/posts/Default.aspx
I have the provider set up following the documentation and everything works fine with the "Intranet" settings, meaning it authenticates successfully when using the Windows Login popup box. Authentication works, roles are syched, etc. No problems that I've seen yet.
The problem occurs when I comment out the line in the Web.config file (under httpModules) so that it should use the in-page login box. When I do so, authentication no longer works. There are no error messages other than the standard "login failed. Passwords are case sensitive..." The "Hide Login Controls" box is unchecked, and I am sure to select the Windows Login button when logging in.
Incidentally, I've never gotten a success message when saving the authentication settings in the extension page. Most recently it's given me the following three errors in this order:
System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.GetRootForestPath(Path ADSIPath)
System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Exists(String path)
at DotNetNuke.Authentication.ActiveDirectory.ADSI.Configuration..ctor()
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.AddADSIPath(String Path, Path ADSIPath)
at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.GetRootEntry(Path ADSIPath)
at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetNetworkStatus()
at DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.NetworkStatus()
at DotNetNuke.Authentication.ActiveDirectory.Settings.UpdateSettings()
--- End of inner exception stack trace ---
Odd that the Intranet method of authenticating works though. Any help would be greatly appreciated.