If i open one of my XSLT files in the Developer section and try to save it i get this error message:
Error occured
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)
I tried using the XSLT updater and go with the new schema, but the same happens.
And i still have no rich tesxt editors i the backend.
If you append umbdebugshowtrace=true to the URL of the front-end pages, you should be able to examine the stack trace and find the error that is causing the XSLT not to load correctly. More on this in a simular thread:
I tried enabeling the trace and i get this error in red, it's repeated 3 times, each time it seems related to one of my XSLT macros:
umbracoMacro InnerException
Unable to load one or more of the types in assembly 'umbraco.standardFormhandlers, Version=1.0.3811.17117, Culture=neutral, PublicKeyToken=null'. Exceptions were thrown: System.TypeLoadException: Could not load type 'umbraco.interfaces.IFormhandler' from assembly 'interfaces, Version=1.0.4085.20549, Culture=neutral, PublicKeyToken=null'. System.TypeLoadException: Could not load type 'umbraco.interfaces.IFormhandler' from assembly 'interfaces, Version=1.0.4085.20549, Culture=neutral, PublicKeyToken=null'. System.TypeLoadException: Could not load type 'umbraco.interfaces.IFormhandler' from assembly 'interfaces, Version=1.0.4085.20549, Culture=neutral, PublicKeyToken=null'. Unable to load one or more of the types in assembly 'umbraco.standardFormhandlers, Version=1.0.3811.17117, Culture=neutral, PublicKeyToken=null'. Exceptions were thrown: System.TypeLoadException: Could not load type 'umbraco.interfaces.IFormhandler' from assembly 'interfaces, Version=1.0.4085.20549, Culture=neutral, PublicKeyToken=null'. System.TypeLoadException: Could not load type 'umbraco.interfaces.IFormhandler' from assembly 'interfaces, Version=1.0.4085.20549, Culture=neutral, PublicKeyToken=null'. System.TypeLoadException: Could not load type 'umbraco.interfaces.IFormhandler' from assembly 'interfaces, Version=1.0.4085.20549, Culture=neutral, PublicKeyToken=null'. 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.<GetXsltExtensions>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.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters) at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements)
I think i fixed my XSLT issue by deleting umbraco.standardFormhandlers.dll.
Now i need to figure out why all my Richtext editors are missing in the backend. The content from the controls are rendered ok when i view the pages, but the control is not shown when i try to edit my pages.
I still have some issues with an XSLT extension i made, if i enable it in the xsltExtensions file i'm back where all XSLt stops working, not just the XSLT that uses the extrension.
This is what i get from the debug trace:
Could not load assembly C:\inetpub\wwwroot\bin\bin\umbsql.dll for XSLT extension umbsql. Please check config/xsltExentions.config. Could not load assembly C:\inetpub\wwwroot\bin\bin\umbsql.dll for XSLT extension umbsql. Please check config/xsltExentions.config. at umbraco.macro.GetXsltExtensionsImpl() at umbraco.macro.<GetXsltExtensions>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.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters) at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements)
More 4.7 upgrade problems
I upgraded to 4.7, and chose to use the legacy xml schema, but in spite of that all my XSLT seems to break?
Also all content created with the Rich text editor is missing, both in the backend and in the previewed pages.
I did change the tinyMCE config in the"old" site to allow templates can this be the problem ?
Any help on these subjects would be a godsend.
Mikael
Follow up to original post.
If i open one of my XSLT files in the Developer section and try to save it i get this error message:
Error occured
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)
I tried using the XSLT updater and go with the new schema, but the same happens.
And i still have no rich tesxt editors i the backend.
Mikael
Hi Mikael,
If you append umbdebugshowtrace=true to the URL of the front-end pages, you should be able to examine the stack trace and find the error that is causing the XSLT not to load correctly. More on this in a simular thread:
http://our.umbraco.org/forum/ourumb-dev-forum/bugs/18381-All-xslt-files-broken-after-upgrading-to-47?p=1
Also, please make sure you have deleted all the old DLL's from the BIN folder - you will find the names of these DLL's in that thread as well.
Grtz
Lennart
Thanks
I will try that, and read the thread you posted.
I tried enabeling the trace and i get this error in red, it's repeated 3 times, each time it seems related to one of my XSLT macros:
Unable to load one or more of the types in assembly 'umbraco.standardFormhandlers, Version=1.0.3811.17117, Culture=neutral, PublicKeyToken=null'. Exceptions were thrown:
System.TypeLoadException: Could not load type 'umbraco.interfaces.IFormhandler' from assembly 'interfaces, Version=1.0.4085.20549, Culture=neutral, PublicKeyToken=null'.
System.TypeLoadException: Could not load type 'umbraco.interfaces.IFormhandler' from assembly 'interfaces, Version=1.0.4085.20549, Culture=neutral, PublicKeyToken=null'.
System.TypeLoadException: Could not load type 'umbraco.interfaces.IFormhandler' from assembly 'interfaces, Version=1.0.4085.20549, Culture=neutral, PublicKeyToken=null'.
Unable to load one or more of the types in assembly 'umbraco.standardFormhandlers, Version=1.0.3811.17117, Culture=neutral, PublicKeyToken=null'. Exceptions were thrown:
System.TypeLoadException: Could not load type 'umbraco.interfaces.IFormhandler' from assembly 'interfaces, Version=1.0.4085.20549, Culture=neutral, PublicKeyToken=null'.
System.TypeLoadException: Could not load type 'umbraco.interfaces.IFormhandler' from assembly 'interfaces, Version=1.0.4085.20549, Culture=neutral, PublicKeyToken=null'.
System.TypeLoadException: Could not load type 'umbraco.interfaces.IFormhandler' from assembly 'interfaces, Version=1.0.4085.20549, Culture=neutral, PublicKeyToken=null'.
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.<GetXsltExtensions>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.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters)
at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements)
Try removing the umbraco.standardformhandlers dll from the bin folder
I think i fixed my XSLT issue by deleting umbraco.standardFormhandlers.dll.
Now i need to figure out why all my Richtext editors are missing in the backend. The content from the controls are rendered ok when i view the pages, but the control is not shown when i try to edit my pages.
Mikael
I still have some issues with an XSLT extension i made, if i enable it in the xsltExtensions file i'm back where all XSLt stops working, not just the XSLT that uses the extrension.
This is what i get from the debug trace:
Could not load assembly C:\inetpub\wwwroot\bin\bin\umbsql.dll for XSLT extension umbsql. Please check config/xsltExentions.config.
Could not load assembly C:\inetpub\wwwroot\bin\bin\umbsql.dll for XSLT extension umbsql. Please check config/xsltExentions.config.
at umbraco.macro.GetXsltExtensionsImpl()
at umbraco.macro.<GetXsltExtensions>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.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters)
at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements)
Fixed it by removing /bin/ from the assembly name :-)
is working on a reply...