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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrading a site from DNN 3.3.1 to 4.8.4, and having problemsUpgrading a site from DNN 3.3.1 to 4.8.4, and having problems
Previous
 
Next
New Post
8/29/2008 4:18 PM
 

Hi All,

I've got a DNN 3.3.1 site that I'm trying to upgrade to DNN 4.8.4.

I copy the DNN 4.8.4 upgrade files overtop of my existing DNN installation, update the web.config with the new info in the release.config file, and then change the ASP.NET version to 2.0 in IIS.

The upgrade seems to go fine, with just a few errors about not being able to add a foreign key constraint.  I was able to manually add the constraint after fixing the data in the dbo.Files table (one record reference FolderID 0, which did not exist, which prevented the foreign key from being created).

The site then comes up fine, but when I hit the login button, I get:

A critical error has occurred.
Object reference not set to an instance of an object.

Since I can't login, I can't get to the event viewer to get more details on this exception.

Is there a log file somewhere that I can look at that would give me more details on this exception?

  -Josh

 
New Post
8/30/2008 3:28 AM
 

save web.config file again to restart the application and retry.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/3/2008 11:03 AM
 

Sebastian Leupold wrote

save web.config file again to restart the application and retry.

No change in behavior.

I figured out that logging is happening in the dbo.Events table.  I found this stack trace:

 

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.Services.Authentication.AuthenticationConfigBase.get_AuthenticationModuleID()

                         at DotNetNuke.Services.Authentication.AuthenticationConfigBase..ctor(Int32 portalID)

                         at DotNetNuke.Services.Authentication.AuthenticationConfig..ctor(Int32 portalID)

                         at DotNetNuke.Services.Authentication.AuthenticationConfig.GetConfig(Int32 portalId)

                         at DotNetNuke.Modules.Admin.Authentication.Login.get_Enabled()

                         at DotNetNuke.Modules.Admin.Authentication.Login.BindLogin()

                         at DotNetNuke.Modules.Admin.Authentication.Login.ShowPanel()

                         at DotNetNuke.Modules.Admin.Authentication.Login.Page_Load(Object sender, EventArgs e)

                         at System.Web.UI.Control.OnLoad(EventArgs e)

                         at System.Web.UI.Control.LoadRecursive()

                         at System.Web.UI.Control.LoadRecursive()

                         at System.Web.UI.Control.LoadRecursive()

                         at System.Web.UI.Control.LoadRecursive()

                         at System.Web.UI.Control.LoadRecursive()

                         at System.Web.UI.Control.LoadRecursive()

                         at System.Web.UI.Control.LoadRecursive()

                         at System.Web.UI.Control.LoadRecursive()

                         at System.Web.UI.Control.LoadRecursive()

                         at System.Web.UI.Control.LoadRecursive()

                         at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

                     --- End of inner exception stack trace ---

 

So for some reason we're getting a null reference in the AuthenticationModuleID property getter... any ideas what would cause that?

 
New Post
9/3/2008 11:16 AM
 

Reflector reveals this:

 

 

protected int get_AuthenticationModuleID()
{
    if (this._AuthenticationModuleID == Null.NullInteger)
    {
        ModuleInfo moduleByDefinition = new ModuleController().GetModuleByDefinition(this.PortalID, "Authentication");
        this._AuthenticationModuleID = moduleByDefinition.ModuleID;
    }
    return this._AuthenticationModuleID;
}


So, for some reason I don't have a module with the "FriendlyName" of "Authentication" (the second parameter to GetModuleByDefinition is "FriendlyName"). What would cause that, and what do I do to correct it?

 

 
New Post
9/3/2008 11:28 AM
 

 This:

 

SELECT *
FROM dbo.vw_Modules 
INNER JOIN dbo.ModuleDefinitions as MD ON dbo.vw_Modules.ModuleDefID = MD.ModuleDefID
WHERE ControlSrc LIKE '%login.ascx%'

 

Returns two rows, which are identical to each other.  They describe a module with the friendly name "Account Login", the description "Allows users to login to the portal.", and a ControlSrc of "Admin/Authentication/Login.ascx".

 

That sounds like what we want... if it is, why does it not have the friendly name of "Authentication"?  If it is not what we want, then what happened to the module with the friendly name of "Authentication"?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrading a site from DNN 3.3.1 to 4.8.4, and having problemsUpgrading a site from DNN 3.3.1 to 4.8.4, and having problems


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