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 from 4.8 to 5.1 - ErrorUpgrading from 4.8 to 5.1 - Error
Previous
 
Next
New Post
8/3/2009 5:55 PM
 

I am running an upgrade from DNN 4.8 to 5.1, and I get an error in the HTML module:

 

AssemblyVersion: 5.1.0
PortalID: 22
PortalName:
UserID: 1
UserName:
ActiveTabID: 952
ActiveTabName: Home
RawURL: /Default.aspx?tabid=952
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 733f04bf-c1bb-4e67-9fc2-815d25f93f65
InnerException: Object reference not set to an instance of an object.
FileName: E:\Inetpub\Dotnetnuke5\Library\UI\Containers\ActionButtonList.vb
FileLineNumber: 75
FileColumnNumber: 21
Method: DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions
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.UI.Containers.ActionButtonList.get_ModuleActions() in E:\Inetpub\Dotnetnuke5\Library\UI\Containers\ActionButtonList.vb:line 75 at DotNetNuke.UI.Containers.ActionButtonList.OnLoad(EventArgs e) in E:\Inetpub\Dotnetnuke5\Library\UI\Containers\ActionButtonList.vb:line 207 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 ---
Source:

I do have 3rd party modules installed, but this looks like an error that is originating from some of the DNN core functionality.  It looks like there is a problem in loading the module actions menu.  Has anyone run into an error like this after upgrading?  Should I have upgraded to 4.9 before 5.1?

 
New Post
8/3/2009 8:08 PM
 

Actually, this error IS occuring in a module that I developed myself.  However, I still am not sure what is causing it.  I debugged through the code, and it traced to some code in ActionBase.vb, which is in the Dotnetnuke\Library\UI\Containers folder if you have the source version of DNN 5.1:

 

 Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Try
                ActionRoot.Actions.AddRange(Actions)
            Catch exc As Exception    'Module failed to load
                ProcessModuleLoadException(Me, exc)
            End Try
        End Sub

The error occurs in this catch statement.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrading from 4.8 to 5.1 - ErrorUpgrading from 4.8 to 5.1 - Error


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