Copied to clipboard

Flag this post as spam?

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


  • Lokesh kumar Chippada 44 posts 249 karma points
    Nov 05, 2015 @ 11:06
    Lokesh kumar Chippada
    0

    Upgraded to 7.3.1 successfully, but macroengine scripts are not loading

    Does anyone know why macros are not loading after upgrading from version 4.11.8 to 7.3.1?

    Is there any bug to be fixed to load macros?

    Error loading MacroEngine script (file:....)

    Please let me know if anyone fixed it.

    Thanks and Regards, Lokesh

  • Lokesh kumar Chippada 44 posts 249 karma points
    Nov 05, 2015 @ 11:21
    Lokesh kumar Chippada
    0

    By using ?umbdebugshowtrace=true, i can see the following

    Error Loading Razor Script (file:  Page Name And Title) [A]System.Web.WebPages.Razor.Configuration.HostSection cannot be cast to [B]System.Web.WebPages.Razor.Configuration.HostSection. Type A originates from 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'Default' at location 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Razor\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Razor.dll'. Type B originates from 'System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, 
    
  • Lokesh kumar Chippada 44 posts 249 karma points
    Nov 05, 2015 @ 11:30
    Lokesh kumar Chippada
    101

    Finally fixed it by changing version to 3.0.0.0 in web.config file. ?umbdebugshowtrace=true is really useful

      <dependentAssembly>
        <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="2.0.0.0" />
      </dependentAssembly>
    

    to

      <dependentAssembly>
        <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
      </dependentAssembly>
    
Please Sign in or register to post replies

Write your reply to:

Draft