Copied to clipboard

Flag this post as spam?

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


  • shwilson24 5 posts 71 karma points
    Nov 08, 2011 @ 18:52
    shwilson24
    0

    XSLT does not work.

    I am at a loss for what to try next.

    Any time my umbraco site trying to parse an XSLT I get the following error:

    System.NullReferenceException: Object reference not set to an instance of an object. 
    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)

    The directory on the server, and the directly on my local machine exactly match each other and are using the same database. I only get this error on the server. My local machine works flawlessly, and for the life of me I can not figure out what is causing it to do this. Any ideas?

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Nov 08, 2011 @ 19:03
    Darren Ferguson
    0

    Firstly - which version of Umbraco?

    Secondly - any custom packages or add-ons installed.

    This issue is normally related to dynamic or transient assemblies.

  • shwilson24 5 posts 71 karma points
    Nov 08, 2011 @ 20:26
    shwilson24
    0

    Thank you for replying.

    Version is 4.7.0

    I have StarterKit Blog, Designit_Green, nforum, and XSLTsearch as my installed packages.

    I have a custom XSLT library which is registered in my xsltExtensions.config file, with the DLL in the bin folder.

    Everything is functioning locally without any issues. Is there anyway to tell which assembly it is failing to load?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 08, 2011 @ 21:00
    Jan Skovgaard
    0

    Hi shwilson24

    So do you have the same number of DLL's on your server and is the xsltExtensions.config file identical with the one from your local environment?

    /Jan

  • shwilson24 5 posts 71 karma points
    Nov 08, 2011 @ 21:04
    shwilson24
    0

    Yes. I have exactly the same number of DLLs in the bin folder.

    I even ran WinDiff against all the config files, and they are identical.

  • shwilson24 5 posts 71 karma points
    Nov 09, 2011 @ 15:31
    shwilson24
    0

    Any more ideas? I still have not figured it out. I even installed a clean version of umbraco to the same server, and it worked perfectly.

Please Sign in or register to post replies

Write your reply to:

Draft