Hello,
I have two servers, one production and one test/development server both with Windows Server 2008 R2 Service Pack 1 and latest DotNetNuke version 7.1.2. Both should be identically configured but I can not guarantee this, because I am not the only one with admin rights on both servers.
After update from 7.1.0 over 7.1.1 to 7.1.2 Active Directory authentication does no longer work on the production server but still works on test server. Both servers had AD provider 5.0.4 installed. Configuring the AD Provider did work on prod server and I got the list of domains in the AD forest when saving the configuration. When opening the configuration again, not all configured fields were filled, but I could find the field values in the database table. On test server there were no configuration errors. It was not possible to log into prod server using a AD account "Login failure" in log. And page load exception after that
AssemblyVersion:7.1.2
PortalID:0
PortalName:#######
UserID:-1
UserName:
ActiveTabID:55
ActiveTabName:CPS Home
RawURL:/cps/CPSHome/tabid/55/ctl/Login/language/en-US/Default.aspx?returnurl=%2fcps%2fen-us%2fcpshome.aspx
AbsoluteURL:/CPS/Default.aspx
AbsoluteURLReferrer:http://###.###.net/cps/CPSHome/tabid/55/ctl/Login/language/en-US/Default.aspx?returnurl=%2fcps%2fen-us%2fcpshome.aspx
UserAgent:Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; xs-eCIgvjYC69s;iwNdAU)
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:66d0f3c8-e1af-4cf0-8c2f-51588bdcd0f2
InnerException:Object reference not set to an instance of an object.
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.SynchronizeRoles
StackTrace:
Message:
DotNetNuke.Services.Exceptions.PageLoadException: 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.AuthenticationController.SynchronizeRoles(UserInfo objUser) at DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.AuthenticateUser(UserInfo objUser, ADUserInfo objAuthUser, UserLoginStatus& loginStatus, String ipAddress) at DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.ManualLogon(String userName, String strPassword, UserLoginStatus& loginStatus, String ipAddress) at DotNetNuke.Authentication.ActiveDirectory.Login.cmdLogin_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: #######
I updated AD provider to 5.0.5 but I still can not login using an AD account on prod server.
Many THX for any kind of help solving this problem.
Rainer Kroos