Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • DL 5 posts 95 karma points
    21 days ago
    DL
    0

    Upgrading umbraco version and move to cloud

    Hello everyone 😊

    I have migrated an existing site to umbraco cloud and by doing so I upgraded my existing site from 9.0.1 to 10.1.1 first.

    The existing site runs fine with umbraco 10.1.1 locally, but if I open my new cloud project locally(same umbraco version) and try to run it, some of my code is not working anymore and it requires me to make changes.

    The migration guide I followed: https://our.umbraco.com/documentation/Umbraco-Cloud/Getting-started/migrate-existing-site/

    E.g.: Existing site got this:

    enter image description here

    But the cloud project complains about this:

    enter image description here

    And it recommends me to do the following changes:

    enter image description here

    The code compiles and I made small changes, but I get the following error: enter image description here

    So, my question is, why do I get this error, if the code works on my existing site with the upgraded umbraco version. But if I am on the local cloud project with the same code, I get this error?

  • DL 5 posts 95 karma points
    1 week ago
    DL
    100

    The solution for this: Instead of using @inherits UmbracoViewPage, I had to change it to @inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage

Please Sign in or register to post replies

Write your reply to:

Draft