Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  Upgrading a site from DNN 3.3.1 to 4.8.4, and having problems
Previous Previous
 
Next Next
New Post 8/29/2008 2:18 PM
User is offline Joshua Beall
142 posts
9th Ranked


Upgrading a site from DNN 3.3.1 to 4.8.4, and having problems 

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 1:28 AM
User is offline Sebastian Leupold
16116 posts
www.deutschnetnuke.de
1st Ranked












Re: Upgrading a site from DNN 3.3.1 to 4.8.4, and having problems 

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


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group European Network of DotNetNuke Professionals

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 9/3/2008 9:03 AM
User is offline Joshua Beall
142 posts
9th Ranked


Re: Upgrading a site from DNN 3.3.1 to 4.8.4, and having problems 
Modified By Joshua Beall  on 9/3/2008 11:12:25 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 9:16 AM
User is offline Joshua Beall
142 posts
9th Ranked


Re: Upgrading a site from DNN 3.3.1 to 4.8.4, and having problems 
Modified By Joshua Beall  on 9/4/2008 9:39:13 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 9:28 AM
User is offline Joshua Beall
142 posts
9th Ranked


Re: Upgrading a site from DNN 3.3.1 to 4.8.4, and having problems 

 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 Previous
 
Next Next
  Forum  General DotNetN...  Install It!  Upgrading a site from DNN 3.3.1 to 4.8.4, and having problems
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


R2i - Delivering Serious DNN Services & Solutions
Award Winning Design, Skin construction, Custom Modules and Consulting Services for the Enterprise organization. R2i is the DNN:Map module Project Lead and one of the largest DNN service providers with offices in New York City, Virginia and Baltimore.
www.bi4ce.com
"SalarO" Skinning Graphic Design Branding Services
SalarO develops packaged & custom skins for your DNN at prices you can afford. SalarO is also developing Module development, Hosting, Branding/Logo design as well as Content Transfer Services to complement the core skinning solutions.
www.salaro.com
Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP