Copied to clipboard

Flag this post as spam?

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


  • Pinal Bhatt 298 posts 390 karma points
    Feb 25, 2011 @ 22:03
    Pinal Bhatt
    0

    XSLT Macros not getting rendered after upgrading to 4.7 beta

    Hi

    I upgraded my 4.6.1 site to 4.7 beta. After upgrading all my xslt macros are giving error.

    Upon saving xslt file i get following error:

    System.Exception: Unable to load one or more of the types in assembly 
    'umbraco.MacroEngines.Legacy, Version=1.0.0.0, Culture=neutral, 
    PublicKeyToken=null'. Exceptions were thrown:
    System.TypeLoadException: Method 'get_SupportedExtensions' in type 'umbraco.MacroEngines.Legacy.DLRScriptingEngine' from assembly 'umbraco.MacroEngines.Legacy, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
    at umbraco.BusinessLogic.Utils.TypeFinder.FindClassesMarkedWithAttribute(Assembly assembly, Type attribute)
    at umbraco.BusinessLogic.Utils.TypeFinder.FindClassesMarkedWithAttribute(Type attribute)
    at umbraco.macro.GetXsltExtensionsImpl()
    at umbraco.macro.b__4()
    at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
    at umbraco.macro.GetXsltExtensions()
    at umbraco.macro.AddMacroXsltExtensions()
    at umbraco.presentation.webservices.codeEditorSave.SaveXslt(String fileName, String oldName, String fileContents, Boolean ignoreDebugging)
    at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
    at umbraco.macro.GetXsltExtensions()
    at umbraco.macro.AddMacroXsltExtensions()
    at umbraco.presentation.webservices.codeEditorSave.SaveXslt(String fileName, String oldName, String fileContents, Boolean ignoreDebugging)

    Help please.

  • Pinal Bhatt 298 posts 390 karma points
    Feb 25, 2011 @ 22:26
    Pinal Bhatt
    3

    Fixed this. My previous installation had following three more dll files in /bin folder. I deleted them and everything was in place.

    • umbraco.MacroEngines.Legacy.dll
    • RazorEngine.Core.dll
    • RazorEngine.Templates.dll

    After deleting above three .dll files from bin folder, i am not getting xslt parssing error.

     

  • Daniel Lindstrom 454 posts 271 karma points
    Mar 13, 2011 @ 02:56
    Daniel Lindstrom
    0

    Had the same problem. Your solution worked fine! Thanks for sharing. :)

  • 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.

    Continue discussion

Please Sign in or register to post replies