DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

upgrade from DNN9.2.2 to 9.8.0,after publish, getting DotNetNuke.Services.Personalization.Personalization.GetUserMode() method not found

 5 Replies
 2 Subscribed to this topic
 28 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 2
New Around Here

[FATAL] DotNetNuke.Framework.PageBase - An error has occurred while loading page.
System.MissingMethodException: Method not found: 'Mode DotNetNuke.Services.Personalization.Personalization.GetUserMode()'.
   at DotNetNuke.Modules.Html.HtmlModule.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.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
Between 9.2.2 and 9.8.0 quite a number of previously deprecated APIs were removed from DNN. The changes are detailed in the release notes for intermediate releases.

Additionally, the suggested upgrade path (https://dnndocs.com/conte...ade-path/index.html) includes a stop at 9.3.2 before going to 9.8.0.

The major effect of the API removal is that any modules that used the deprecated APIs need to be upgraded to eliminate errors.

So ... you should revert to 9.2.2, upgrade to 9.3.2, upgrade your modules to make sure that all are compatible with 9.8.0, and then do that upgrade.
New Around Here
Posts: 2
New Around Here
Still getting same error after upgrade to 9.8.0 with published code.
[ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---> System.InvalidOperationException: No service for type 'DotNetNuke.UI.Modules.IModuleControlPipeline' has been registered
Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
What do you mean by "published code"?

Have you vierified that you've upgraded to modules that work with 9.8.1?
VM
New Around Here
Posts: 9
New Around Here
Published code refers to the code which is pushed to the server. I am having the same issue. In my local it is wokring fine. When I push it to the server for the very first it loads the application. Later crashes and gives 500 error.

DotNetNuke.UI.Modules.IModuleControlPipeline
ERROR] DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---> System.InvalidOperationException: No service for type 'DotNetNuke.UI.Modules.IModuleControlPipeline'
Veteran Member
Posts: 1246
Veteran Member
MVP
MVP
You're an MVP!
I'm sorry but we are having a terminology problem or something.

Can you please describe, in several steps, what you are actually trying to do?

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved