Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hope someone can help with this:
I've installed xsltsearch and set everything up, but I have discovered an issue when trying to save the xslt file, which is returning the error Could not load file or assembly 'Lucene.Net, Version=18.104.22.168,
This is where things get strange: When I checked the version of Lucene.Net.dll it's 22.214.171.124 so I took a copy of 126.96.36.199 from the other project (I have 4 websites in 1 Umbraco installation, but set up as separate visual studio projects) and added it to the bin folder, replacing the 188.8.131.52 version
When I rebuild the project and check the version of Lucene.Net.dll it changes back from 184.108.40.206 to 220.127.116.11
Don't think this is necessarily an issue with XSLT search, but it's where I'm having trouble.
I have literally NO idea how compiling the project could change the version of Lucene.Net.dll
Any help will be much appreciated - hopefully it's something small!
So I'm not the only one working on Saturday mate!
Could you have a reference in your project to the older Lucene.Net.dll version. I think on build VS will copy dlls from the references into the projects bin folder as well as building the projects own dll. If so delete that reference in the project and create a new one to the correct version, rebuild...
What version of Umbraco are you using? Is it a fresh install or an upgraded install? And are you using uComponents 3 or 4? Since Umbraco 4.8 some of the most popular datatypes from uComponents has been made part of the core in Umbraco.
So if you have upgraded Umbraco from 4.7.x for instance that means you need to make a workaround to make sure uComponents works as expected and avoid weird issues like the one you're describing. Ucomponents before version 5 needs version 18.104.22.168 of Lucene in order to work.
Lee Kelleher has posted some instructions on how to work around this issue here: http://our.umbraco.org/projects/backoffice-extensions/ucomponents/questionssuggestions/33021-Upgrading-to-Umbraco-48-breaks-support-for-uComponents
Hope this helps.
No you're not the only person working on Saturday @Matt! I already removed the reference before replacing the .dll so it's not that.
@Jan I noticed a post by @JasonMacKay yesterday which you were helping with and I should have clarified these things before you asked:
This is a fresh install not upgraded, it's 4.9
I'm using uComponents v4 and uSiteBuilder
So uComponents v4 needs Lucene 22.214.171.124 so possibly when compiling the project, uComponents is causing this?
I'm only using MTNP which is now part of the core so I'll remove uComponents and see if this resolves the issue.
I'll post my results - thanks guys!
That's actually not going to work for me.
I'm working code-first so that when using MTNP I can access the selected nodes via uQuery but this doesn't seem to be available in uComponents v5 ?
Apparently uQuery is also part of umbraco core from v4.8 according to this discussion http://ucomponents.codeplex.com/discussions/393146
So I realised I had already followed the steps for working around uComponents v4, therefore already have a bin/legacy folder with Lucene.Net v126.96.36.199
Weird that when I drop 188.8.131.52 into the bin folder and save the xslt file it saves correctly.
As soon as I compile the project, the bin version of Lucene.Net changes back to 184.108.40.206 - Not sure why compiling would cause it to roll back?
I'll take a look at that post - if I can get at uQuery in the core then I can remove uComponents and "hopefully" upgrade the Lucene.Net.dll file
Will again posts results, in case anyone else has this issue.
For anyone who may have similar issues - the real issue here is that I'm an IDIOT!
I got mixed up with another project - I took this over for another dev and am building 3 more site into existing Umbraco installation - and just checked and discovered it's actually Umbraco 4.7.1!!
So no wonder I couldn't get XSLT Search to work, no wonder I couldn't get uQuery from Umbraco.dll !
@Jan thanks for your help - I'm now going to hang my head in shame :D
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted