Hi All
I need some helo now after 2 days of error seeking. I have a site upp and it is running but I cannot logon on to it without getting a "Object reference not set to an instance of an object." inside the AuthenticationsService/DNN module and its file Login.ascx.vb at line 164
code block:
162 If (UseCaptcha And ctlCaptcha.IsValid) OrElse (Not UseCaptcha) Then
163 Dim loginStatus As UserLoginStatus = UserLoginStatus.LOGIN_FAILURE
164 Dim objUser As UserInfo = UserController.ValidateUser(PortalId, txtUsername.Text, txtPassword.Text, "DNN", txtVerification.Text, PortalSettings.PortalName, IPAddress, loginStatus)
165 Dim authenticated As Boolean = Null.NullBoolean
166 Dim message As String = Null.NullString
call stack:
> App_Web_rhkrxl84.dll!DotNetNuke.Modules.Admin.Authentication.Login.cmdLogin_Click(Object sender = {Text = "Login"}, System.EventArgs e = {System.EventArgs}) Line 164 + 0xa4 bytes Basic
I have swapped out all the DNN code from a fresh installation which was running just fine until a change this source to the old and uppgraded database ... then the same problem occur I cannot login .... I think there is something missing in the db after the uppgrade a teble or storedproedure must be wrong or missing and I Have a fresh clean dn with dnn462 and the old upgraded db now dnn462 .... what I need is help to syncronise them manually .... which tables shall I look in if the login doesn't work and how can I syncronise the wrong db with the fresh and clean and working one ? Any ideas ?
/Johan