Hi!
Maybe someone wrote about this - I saw some posts with the same error stack, but I don't fix it with that tips. So I decide post it here. I've installed fresh DNN 6.2.1, then AD Authentication module. When I try to configure authentication on module page (choose AD server, root domain etc), click "Update@? I see this Error stack:
Error: is currently unavailable.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 ---
Uncommenting Impersonation block in web.config not solve the problem. I tried many variations of settings (e.g. dc=domain, dc=com; LDAP:\\domain.com\ (with this variant erorr is different - FAIL cant find domain server) nothing worked. I think I entered AD information in the module form with mistakes. so for example for domain.com I enter -
Root Domain - dc=domain, dc=com
User name - domain.com\user (tried just domain without com - same issue)
Password - pass
email - domain@domain.com
default domain - domain.com
I tested it on domain computer, local IIS Express 7.5 with webmatrix.
I tried many ASP.NET applications with AD Authentication functionality and pointed out this like settings. Maybe need to add OU="blabla"? Tried - same issue.
Please help. Want to use DNN as intranet information and social portal but very important to use AD.
Thank you very much in advance!