Here's one to bend your noodle...I have AD installed on 5.1.4 and everything was working fine. I wanted to see if I could remove the domain name from what was stored in the db so someone suggested checking the strip domain name in the Settings page of AD.
That didn't work, so I went to set everything back the way it was. Problem is, if you log out, you can't log back in. Except for me, and my test account. I've had other people in the department go to the dnn site, and it logs them in no problem, automatically, which is what I want. But if they hit log out and try to log back in, Hitting the Windows Login button, it won't log them in, and throws this in the Event Log:
AssemblyVersion: 5.1.4
PortalID: 0
PortalName: Cypress Web Portal
UserID: -1
UserName:
ActiveTabID: 39
ActiveTabName: Home
RawURL: /Login.aspx?ReturnUrl=%2fAdmin%2fExtensions.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://portal02/Login.aspx?ReturnUrl=%2fAdmin%2fExtensions.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0848340f-e91c-4a92-99a1-5f954b6f6ec6
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.AddADSIPath
StackTrace:
Message: 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.GetDomainByBIOSName(String Name) at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.GetUserEntryByName(String Name) at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser(String LoggedOnUserName, String LoggedOnPassword)
Source:
Server Name: PORTAL02
this is all internal. The biggest problem is, it was working FINE this morning. And if No One could log in, that would be one thing, but I'm the only one it seems to like, I don't understand. That and why the username is missing in this error message.
any advice?