Copied to clipboard

Flag this post as spam?

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


  • Nadia 45 posts 122 karma points
    Oct 18, 2013 @ 05:01
    Nadia
    0

    Razor Not loading after upgrading form 4.7 to 4.11.10

    I have just upgraded a site from 4.7 to 4.11.10. everything seems to be working OK, except I can't get the macroscirpts to load

    I just get 

    Error loading MacroEngine script (file: homepagenewsitem.cshtml)

    I have tried using ?umbDebugShowTrace=true , but I am getting no stack trace. 

    I removed all the code from the razor script and just put in <p>Hello World<p> and it still looks the same.

    I followed all the directions of the upgrade. The key dll's I am referencing are:

    umbraco.macroRenderings V1.0.4926.14929

    umbraco.MacroEngines V 1.0.4926.14936

    umbraco V 1.0.4926.14929

    cms V 1.0.4926.14928

    System.Web.Razor Runtime v4.0.30319

    System.Web.WebPages.Razor Runtime v4.0.30319

     

    Anyone have any idea on what the cause might be?

  • Funka! 398 posts 661 karma points
    Oct 18, 2013 @ 06:50
    Funka!
    0

    Have you ensured debug and trace are enabled in the web.config?

  • Funka! 398 posts 661 karma points
    Oct 18, 2013 @ 16:48
    Funka!
    0

    I also forgot to suggest, sometimes you need to reset permissions on folderd. If umbraco isn't able to write to the App_Code folder, for example, then I could see how macro scripts might fail to build and give you such an error. Good luck!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies