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?
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?
Firstly - which version of Umbraco?
Secondly - any custom packages or add-ons installed.
This issue is normally related to dynamic or transient assemblies.
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?
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
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.
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.
is working on a reply...