We have a site on umbraco 4.5.2 that we are trying to upgrade to 4.7.
Everything goes fine except that all the xslt are broken (have no reader).
All the xslt have been created using the new schema on 4.5.2 so this is not a possible cause.
Using the /?umbDebugShowTrace=true the error showed is:
Unable to load one or more of the types in assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exceptions were thrown: System.TypeLoadException: Method 'Range' in type 'Examine.LuceneEngine.SearchCriteria.LuceneQuery' from assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. System.TypeLoadException: Method 'Range' in type 'Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria' from assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Unable to load one or more of the types in assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exceptions were thrown: System.TypeLoadException: Method 'Range' in type 'Examine.LuceneEngine.SearchCriteria.LuceneQuery' from assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. System.TypeLoadException: Method 'Range' in type 'Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria' from assembly 'Examine.LuceneEngine, 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.<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)
We have upgraded the examine.dll , lucene.Net.dll, UmbracoExamine.dll as well
Using the Visual Studio Object Explorer we can see the Examine.LuceneEngine.SearchCriteria.LuceneQuery.Range and Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria.Range really exist with multiple implementations.
It looks like there's a problem with one of the XSLT extensions that you have on the site. Check that your xslt extension config file is correct. If you didin't replace it as part of the upgrade, you may want to check against the config file that comes with 4.7.1 to see if there's anything amiss!
The xslt config file that comes with 4.7 is empty (just example text) and our file has just two lines, one for contour and other for a custom extensions.
I'm getting the same issue.. just upgraded a site from 4.5.2 to 4.7.1
Not loading any customer extensions.
All these cause the error: - Running xslt macros - Creating new xslt files - Testing of existing xslt
Unable to load one or more of the types in assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exceptions were thrown: System.TypeLoadException: Method 'Range' in type 'Examine.LuceneEngine.SearchCriteria.LuceneQuery' from assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. System.TypeLoadException: Method 'Range' in type 'Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria' from assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Unable to load one or more of the types in assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exceptions were thrown: System.TypeLoadException: Method 'Range' in type 'Examine.LuceneEngine.SearchCriteria.LuceneQuery' from assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. System.TypeLoadException: Method 'Range' in type 'Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria' from assembly 'Examine.LuceneEngine, 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.<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 am currently looking into that one. One thing to know is that prior to 4.7, GetXsltExtensionsImpl() caught many exceptions and simply hid them. It made things pretty difficult to debug (ie it was silently failing at loading some extensions, but not telling you). So now we try to be more verbose and throw as soon as something goes wrong.
What that means is that the error above might have existed before you upgraded, but it was hidden. Now, you see it.
This is just a guess at the moment, will try to come back with more debug infos.
Ok... the type loader chokes on Examine.LuceneEngine assembly... in our (4.7.1.1) bin we have Lucene.Net.dll, Examine.dll, UmbracoExamine.dll... but no Examine.LuceneEngine.dll. What's in your bin?
As Shannon once pointed our here, "note that Examine.LuceneEngine.DLL is no longer relavent in the newer version".
Upgrade to 4.7 break all my XSLT
Hi everyone!
We have a site on umbraco 4.5.2 that we are trying to upgrade to 4.7.
Everything goes fine except that all the xslt are broken (have no reader).
All the xslt have been created using the new schema on 4.5.2 so this is not a possible cause.
Using the /?umbDebugShowTrace=true the error showed is:
We have upgraded the examine.dll , lucene.Net.dll, UmbracoExamine.dll as well
Using the Visual Studio Object Explorer we can see the Examine.LuceneEngine.SearchCriteria.LuceneQuery.Range and Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria.Range really exist with multiple implementations.
Any idea?
Thanks.
It looks like there's a problem with one of the XSLT extensions that you have on the site. Check that your xslt extension config file is correct. If you didin't replace it as part of the upgrade, you may want to check against the config file that comes with 4.7.1 to see if there's anything amiss!
Hope that helps!
Have a look at this topic: http://our.umbraco.org/forum/ourumb-dev-forum/bugs/18381-All-xslt-files-broken-after-upgrading-to-47.
Jeroen
The xslt config file that comes with 4.7 is empty (just example text) and our file has just two lines, one for contour and other for a custom extensions.
If I turn them off , the error still persist
The dlls has been deleted, the entire site has been republished but it's showing the same error
I'm getting the same issue.. just upgraded a site from 4.5.2 to 4.7.1
Not loading any customer extensions.
All these cause the error:
- Running xslt macros
- Creating new xslt files
- Testing of existing xslt
Unable to load one or more of the types in assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exceptions were thrown:
System.TypeLoadException: Method 'Range' in type 'Examine.LuceneEngine.SearchCriteria.LuceneQuery' from assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
System.TypeLoadException: Method 'Range' in type 'Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria' from assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
Unable to load one or more of the types in assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exceptions were thrown:
System.TypeLoadException: Method 'Range' in type 'Examine.LuceneEngine.SearchCriteria.LuceneQuery' from assembly 'Examine.LuceneEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
System.TypeLoadException: Method 'Range' in type 'Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria' from assembly 'Examine.LuceneEngine, 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.<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 am currently looking into that one. One thing to know is that prior to 4.7, GetXsltExtensionsImpl() caught many exceptions and simply hid them. It made things pretty difficult to debug (ie it was silently failing at loading some extensions, but not telling you). So now we try to be more verbose and throw as soon as something goes wrong.
What that means is that the error above might have existed before you upgraded, but it was hidden. Now, you see it.
This is just a guess at the moment, will try to come back with more debug infos.
Ok... the type loader chokes on Examine.LuceneEngine assembly... in our (4.7.1.1) bin we have Lucene.Net.dll, Examine.dll, UmbracoExamine.dll... but no Examine.LuceneEngine.dll. What's in your bin?
As Shannon once pointed our here, "note that Examine.LuceneEngine.DLL is no longer relavent in the newer version".
is working on a reply...