Copied to clipboard

Flag this post as spam?

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


  • Ras 61 posts 324 karma points
    Sep 13, 2021 @ 07:48
    Ras
    0

    Error loading Razor Script, XML used by the provider must exist

    This error is occuring on a website that has been running fine for a few weeks, only now suddenly getting these errors on specific elements on the page. The site is still up and running, but the navbar and some other elements are replaced with a box with the error

    "Error loading Razor Script ....cshtml

    The XML used by the provider must exist"

    It's running Umbraco v 4.9.0

  • Ras 61 posts 324 karma points
    Sep 13, 2021 @ 08:15
    Ras
    0

    Found the error, site was possibly in a cached state for a while but there was an old connection string still in place (that was not being used) but that suddenly interferred with the actual database connection string (in umbraco 4 it uses a key instead of the connectionstring tag for some reason). Found it and commented it out and everything works fine.

Please Sign in or register to post replies

Write your reply to:

Draft