Copied to clipboard

Flag this post as spam?

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


  • Jason Mackay 98 posts 149 karma points
    Nov 06, 2012 @ 18:10
    Jason Mackay
    0

    Error installing XSLTSearch

    Hi, I've been trying to add the XSLTSearch and once installed I go in to the XSLT and hit save and given this error

    I have tried reinstalling the package a few times and keep getting this same error. Any ideas how to fix it? 

    Umbraco 4.9.0 and XSLTSearch 3.0.4.

    Thanks

    Jason

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    Nov 07, 2012 @ 21:26
    Douglas Robar
    0

    That's an odd error. Any chance this is an upgraded site? If so, check out these threads that should help track down the problem (which shouldn't be unique to XSLTsearch but to any xslt macro):

    http://our.umbraco.org/forum/getting-started/installing-umbraco/33533-My-first-attempt-of-upgrading-failed

    http://our.umbraco.org/projects/backoffice-extensions/ucomponents/questionssuggestions/34115-xslt-error-after-upgrade-from-480-to-481

    http://our.umbraco.org/forum/developers/xslt/28019-Saving-XSLT-causing-the-error

     

    You might also visit the search page of the site from outside the umbraco backoffice (just as a website visitor would do) and add ?umbDebugShowTrace=true to the end of the url. That will give you more debugging info (scroll down the page and you should see some debugging info in red that may help). If you don't see a ton of extra debugging trace at the bottom of your page, edit your web.config to allow debugging. In other words, change this setting to 'true'

    <addkey="umbracoDebugMode"value="true"/>

     

    Let us know what you find out, for the benefit of the next person. Or, if you can't resolve it, tell us more about your site (is it a fresh installation or an upgraded site, and if upgraded then from what version(s)?) and what other packages you have installed as these may be interfering. 

    cheers,
    doug. 

  • Jason Mackay 98 posts 149 karma points
    Nov 08, 2012 @ 16:12
    Jason Mackay
    0

    Hi Doug,

    Thanks for getting back to me, this isn't an upgraded site, which is why this is puzzling me. 

    I did the umbracoDebugMode and the error message produced looked like:

    Unable to load one or more of the types in assembly 'Examine, Version=0.10.0.292, Culture=neutral, PublicKeyToken=null'. Exceptions were thrown:
    System.IO.FileLoadException: Could not load file or assembly 'Lucene.Net, Version=2.9.2.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    Unable to load one or more of the types in assembly 'Examine, Version=0.10.0.292, Culture=neutral, PublicKeyToken=null'. Exceptions were thrown:
    System.IO.FileLoadException: Could not load file or assembly 'Lucene.Net, Version=2.9.2.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
      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__0()
      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) 

    From this I checked the Lucene.dll and Examine.dll's and couldnt find anything that would have had a problem with this. I have uSiteBuilder installed and did have a version of uCommerce installed, but removed the uCommerce so this shouldnt have an affect on XSLTSearch.

    Seems a weird one, you dont have any further ideas with this error message do you?

    Thanks

    Jason

  • Jan Skovgaard 11258 posts 23498 karma points MVP 7x admin c-trib
    Nov 08, 2012 @ 17:21
    Jan Skovgaard
    0

    Hi Jason

    Do you use uComponents on this installation of Umbraco? And is it a fresh install or have you upgraded from a previous version? I'm suspicious that the error is caused by the lucene.dll version. 

    In 4.9 Lucene.dll is version 2.9.4.1 - Howver uComponents earlier than version 5 needs the old version of lucene.dll (2.9.2.2) to work.

    Looking forward to hearing more from you.

    /Jan 

  • Jason Mackay 98 posts 149 karma points
    Nov 08, 2012 @ 17:36
    Jason Mackay
    0

    Hi Jan,

    Yeah I did put uComponents on and it was a fresh install I did and no upgrading done.

    The Lucene.dll version is 2.9.4.1, I have uComponents 3.1.0 could this be the problem - uComponents works fine at the moment but having issues with XSLTSearch?!

    Thanks for your reply.

    Jason

  • Jason Mackay 98 posts 149 karma points
    Nov 08, 2012 @ 17:48
    Jason Mackay
    0

    Hold on... Jan you've got it, it was the version of Lucene.dll, I put in a 2.9.4.1 version and it worked straight away, and the uComponents functionality was fine also.

    Massive thanks Jan, would never have got that without your help. Thanks also Doug for your help

    Thanks

    Jason

  • Jan Skovgaard 11258 posts 23498 karma points MVP 7x admin c-trib
    Nov 08, 2012 @ 17:52
    Jan Skovgaard
    0

    Hi Jason

    Glad I was able to help. If this install is a fresh one then I'll recommend that you install uComponents 5.0 instead of 3.1.x - In 3.1.x the Multinode Tree picker datatype is still included in uComponents. But now the MNTP and some of the other popular datatypes from uComponents has made it into the Umbraco core.

    So to avoid any potential problems and issues I suggest you upgrade uComponents as well.

    Happy umbracoing :)

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft