Copied to clipboard

Flag this post as spam?

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


  • NiQ 24 posts 45 karma points
    Feb 01, 2012 @ 10:15
    NiQ
    0

    Upgrading to 4.7.1.1 broke ALL razor macros

    Just upgraded a 4.7.1 site to 4.7.1.1 and now all razor code is broken.

    I get this error:

    Error loading MacroEngine script (file: 

    I have tried republishing, deleting the tmp folders and more but nothing seems to help.

     

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Feb 01, 2012 @ 10:16
    Jeroen Breuer
    0

    If you have debugging enabled you can add ?umbDebugShowTrace=true to your site url to see a stack trace which shows more info about the error.

    Jeroen

  • NiQ 24 posts 45 karma points
    Feb 01, 2012 @ 10:33
    NiQ
    0

    Found this:

    umbracoMacro Error loading MacroEngine script (file: , Type: ''
    Could not load type 'umbraco.cms.businesslogic.macro.IMacroEngineResultStatus' from assembly 'cms, Version=1.0.4281.14852, Culture=neutral, PublicKeyToken=null'.
      at umbraco.macro.loadMacroScript(MacroModel macro)
      at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)

    How come I get this now with 4.7.7.1?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Feb 01, 2012 @ 10:36
    Jeroen Breuer
    0

    Hmm perhaps something went wrong with upgrading? What did you do to upgrade?

    Jeroen

  • NiQ 24 posts 45 karma points
    Feb 01, 2012 @ 10:45
    NiQ
    0

    I did as the PDF told me.

    I copied all bin, umbraco_client and umbraco content to the specific folders and overwrote everything.

  • Rodion Novoselov 694 posts 859 karma points
    Feb 01, 2012 @ 11:19
    Rodion Novoselov
    0

    The current version of the cms.dll assembly that the trace mentioned is 1.0.4393.24044, in the umbraco.macro class there's no method "loadMacroScript" and the "renderMacro" method has different signature. Your umbraco.dll assembly seems to be outdated.

  • NiQ 24 posts 45 karma points
    Feb 02, 2012 @ 10:11
    NiQ
    0

    Hm what are you saying.. do I have the wrong version of cms.dll?

    My trace is mentioned 1.0.4281.14852 where did you get 1.0.4393.24044 from? Is 4393 the correct 4.7.7.1 version of cms.dll?

    I downloaded the umbraco_4711.zip file from codeplex and the cms.dll from that file is 1.0.4393.24040.

    The umbraco.dll in my project folder is 1.0.4393.24044.

  • Rodion Novoselov 694 posts 859 karma points
    Feb 02, 2012 @ 10:46
    Rodion Novoselov
    0

    I wouldn't put the brain on it actually - I think it's much simpler just to try and get 4.7.1.1 one more time and unpack /bin contents over the site.

Please Sign in or register to post replies

Write your reply to:

Draft