Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error when uppgrading from 3.2.2 to 4.6.2Error when uppgrading from 3.2.2 to 4.6.2
Previous
 
Next
New Post
10/24/2007 5:36 AM
 

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

 
New Post
11/3/2007 4:38 PM
 

Check your upgraded dnn462 db and see if you have accounts in table asp_net.user.   The upgrade may fail at the account migration step.

DNN 3.2.2 did not use ASP membership provider.  Start with dnn 3.3 (up to 4), asp membership provider was integrated  (supported by table asp_net_xxx).    If you upgrade from 3.2.2 to 4.6.2, the upgrade will migrate accounts into asp_net tables.   If the account migration failed, this could result in login failure.

Do you have a backup of dnn 3.2.2?  If you do, I would suggest to restore to 3.2.2 if you have a backup of the dnn version 3.2.2 and dnn db.  After restore, I would upgrade from 3.2.2 to 3.3.7.  Then I verify the modules and still working and accounts were successully migrated.  If everything good, I then upgrade from 3.3.7 to 4.6.2.

From my past experience - At one time, I upgraded from 3.2.2 to 3.3.7 and the account migration failed.  I have to clean up bad accounts in 3.2.2 before upgrade to 3.3.7.  One of the CORE team provided SQL script to clean up bad accounts. 


Fuji Nguyen
FREE Visitor Hit Counter
Visit opensource.indyneinc.com for detail.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error when uppgrading from 3.2.2 to 4.6.2Error when uppgrading from 3.2.2 to 4.6.2


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out