Error: A critical error has ocurred. Please check the Event Viewer for further details.

Issue:

After the user did an upgrade from version 9.1 to 9.2, they are not getting any content

Capture.JPG

Environment: DNN upgrade from 9.1 to 9.2

Root cause:  The DNNSmart Effect Collection module/assembly was calling a deprecated method get_modulepath, which has been removed in 9.2

Resolution:

In order to validate that the issue with the Homepage was due to that module, follow these steps:

  1. Log in as SuperUser or Administrator.
  2. Go to Content > Pages
     2.jpg
  3. Click on the Homepage, and then next to it on the ... (The dotted menu). 
    image__1_.png
  4. Then, click on Duplicate > and add a name for the page.
    image__2_.png
  5. Disable Display in Menu
    image__3_.png
  6. Go to Permissions tab and remove permissions for All Users and Registered Users.
    image__4_.png
  7. Press Save to create a duplicate page.
  8. If you happen to see the same issue as in the original page:
    1. On Edit mode (automatically after the creation), click on the Module Setting for the module displaying the error.
    2. Validate which module is failing (It'll give you the error on that module, for this example it was DNNSmart Effect Collection)
    3. Delete Module
    4. Once the module is deleted, reload the page, you should be able to see the content is back.

Confirmation: With the module deleted, please reload the page, and you should be able to see the content.

Important note:

You can see the logs in <site_folder>\Portals\_default\Logs. There, you should be able to see what module is causing the issue, for example:

 DotNetNuke.Services.Exceptions.Exceptions - ~/Default.aspx?tabid=575&error=An unexpected error has occurred&content=0
System.MissingMethodException: Method not found: 'System.String DotNetNuke.Entities.Modules.PortalModuleBase.get_ModulePath()'.
  at DNNSmart.EffectCollection.EffectLoader.Page_Load(Object sender, EventArgs e)

Related Article:

Delete Module

Comments

0 comments

Please sign in to leave a comment.