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
I wanted to try out your Open Calais Auto Tag package but I am getting an internal server error when I click the "Suggest Tags" button.
I have a clean, new Umbraco v6.1.6 site with only one other package installed: Config Tree. I downloaded Auto Tags v2.2.6 from your Projects page and installed it. I edited the config file to include my Open Calais key, etc. I created a doc type and added a property to it using the Auto Tags data type.
When I click on the "Suggest Tags" button I get the progress icon and nothing else ever happens. I launced Fiddler and it's showing me that the POST request to /base/AutoTags/GetTags/1047.aspx is getting this response:
Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Umbraco.Web.BaseRest.RestExtensionMethodInfo.Invoke(String parameters)
System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=188.8.131.52, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Newtonsoft.Json, Version=184.108.40.206, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
at GrailTechnology.AutoTags.Library.Base.GetTags(Int32 id)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Also, I noticed that the package page in the Umbraco backend is reporting that my installed AutoTags version is v2.2.5 even though the zip I downloaded is labeled 2.2.5.
You could play with assembly bindings in the web.config a bit the version have for lucene.net with older versions of ucomponents see http://our.umbraco.org/projects/backoffice-extensions/ucomponents/questionssuggestions/33021-Upgrading-to-Umbraco-48-breaks-support-for-uComponents you could try something similar?
Thanks Ismail. I think that will work. I'll give it a try and report back.
Additionally you could pull down the source and rebuild with version of newtonsoft used by Umbraco.
There are four Newtonsoft.Json v3.5 releases ... 3.5 release 5, release 6, release 7, and release 8 ... available for download. I tried all four and still get the "could not load file or assembly" error.
At this point I would try downloading the Auto Tags source and doing my own build except that I can't locate it. Is the source available? The project page on our.umbraco.org doesn't mention it.
Apologies for the problems you're having Chester, which version of the package have you installed? The newtonsoft dependency should have been fixed in version 2.2.6, so you could try that if you haven't already?
Also, FYI the repo has been moved to https://bitbucket.org/justcompile/umbraco-autotags/. I thought I had changed the relevant links but I'll get onto that now.
If you're having additional problems please let me know.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted