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 ...Error Message after Upgrading from DNN 5.6.1 to 5.6.2 (Type initializer threw an exception) ...Error Message after Upgrading from DNN 5.6.1 to 5.6.2 (Type initializer threw an exception) ...
Previous
 
Next
New Post
5/31/2011 9:33 PM
 
Hello,



After performing an upgrade from DotNetNuke 5.6.1 to 5.6.2 I am getting the following error message:







The type initializer for DotNetNuke.Professional.LicenseActivation.Licensing.LicenseManager threw an exception.







This is displayed in the URL. In the body of the page I just get the generic "An error has occured." page.







Anything I can do to resolve this problem? Thanks.

Regards,
Christopher Koeber
 
New Post
6/1/2011 9:36 AM
 
In addition to what I wrote above here is a stacktrace I pulled from the database:

<LogProperties>
    <LogProperty>
        <PropertyName>AssemblyVersion</PropertyName>
        <PropertyValue>5.6.2</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>PortalID</PropertyName>
        <PropertyValue>0</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>PortalName</PropertyName>
        <PropertyValue>Wesley Theological Seminary</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>UserID</PropertyName>
        <PropertyValue>-1</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>UserName</PropertyName>
        <PropertyValue />
    </LogProperty>
    <LogProperty>
        <PropertyName>ActiveTabID</PropertyName>
        <PropertyValue>515</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>ActiveTabName</PropertyName>
        <PropertyValue>About Us</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>RawURL</PropertyName>
        <PropertyValue>/MVS/AboutUs.aspx</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>AbsoluteURL</PropertyName>
        <PropertyValue>/Default.aspx</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>AbsoluteURLReferrer</PropertyName>
        <PropertyValue>http://www.google.com/url?sa=t&amp;source=web&amp;cd=5&amp;ved=0CEcQFjAE&amp;url=http%3A%2F%2Fwww.wesleyseminary.edu%2FMVS%2FAboutUs.aspx&amp;rct=j&amp;q=wesley%20seminary&amp;ei=5TrmTdi6JqPY0QGLqJiBCw&amp;usg=AFQjCNHKUrS9AF_UnwEpB7t84wreqPA1MA</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>UserAgent</PropertyName>
        <PropertyValue>Mozilla/5.0 (iPad; U; CPU OS 4_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8F190 Safari/6533.18.5</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>DefaultDataProvider</PropertyName>
        <PropertyValue>DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>ExceptionGUID</PropertyName>
        <PropertyValue>6e7ac6d0-ec6e-4bb3-a0d0-0406aac32048</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>InnerException</PropertyName>
        <PropertyValue>The type initializer for 'DotNetNuke.Professional.LicenseActivation.Licensing.LicenseManager' threw an exception.</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>FileName</PropertyName>
        <PropertyValue />
    </LogProperty>
    <LogProperty>
        <PropertyName>FileLineNumber</PropertyName>
        <PropertyValue>0</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>FileColumnNumber</PropertyName>
        <PropertyValue>0</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>Method</PropertyName>
        <PropertyValue>DotNetNuke.Professional.LicenseActivation.Licensing.LicenseManager..ctor</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>StackTrace</PropertyName>
        <PropertyValue />
    </LogProperty>
    <LogProperty>
        <PropertyName>Message</PropertyName>
        <PropertyValue>DotNetNuke.Services.Exceptions.PageLoadException: The type initializer for 'DotNetNuke.Professional.LicenseActivation.Licensing.LicenseManager' threw an exception. ---&gt; System.TypeInitializationException: The type initializer for 'DotNetNuke.Professional.LicenseActivation.Licensing.LicenseManager' threw an exception. ---&gt; System.TypeLoadException: Could not load type 'DotNetNuke.Collections.SharedList`1' from assembly 'DotNetNuke, Version=5.6.2.144, Culture=neutral, PublicKeyToken=null'.     at DotNetNuke.Professional.LicenseActivation.Licensing.LicenseManager..ctor()     at DotNetNuke.Professional.LicenseActivation.Licensing.LicenseManager..cctor()     --- End of inner exception stack trace ---     at DotNetNuke.Professional.LicenseActivation.Licensing.LicenseManager.get_Instance()     at DotNetNuke.Professional.Application.ProApplication.CheckLicense()     at DotNetNuke.Professional.Providers.PermissionProviders.GranularPermissionProvider.GranularPermissionProvider.CanViewPage(TabInfo objTab)     at DotNetNuke.Security.Permissions.TabPermissionController.CanViewPage(TabInfo objTab)     at DotNetNuke.UI.Skins.Skin.ProcessMasterModules()     at DotNetNuke.UI.Skins.Skin.OnInit(EventArgs e)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Control.AddedControl(Control control, Int32 index)     at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e)     at System.Web.UI.Page.OnInit(EventArgs e)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     --- End of inner exception stack trace ---</PropertyValue>
    </LogProperty>
    <LogProperty>
        <PropertyName>Source</PropertyName>
        <PropertyValue />
    </LogProperty>
</LogProperties>

Thanks.
 
New Post
6/2/2011 3:03 PM
 
I worked with the DNN support folks and restored from a backup.

Thanks.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error Message after Upgrading from DNN 5.6.1 to 5.6.2 (Type initializer threw an exception) ...Error Message after Upgrading from DNN 5.6.1 to 5.6.2 (Type initializer threw an exception) ...


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