Error with assemblies after upgrade from 7.0 to 7.1

Posted by Community Admin on 04-Aug-2018 19:20

Error with assemblies after upgrade from 7.0 to 7.1

All Replies

Posted by Community Admin on 16-Sep-2014 00:00

We are trying to upgrade our 7.0 site to 7.1. The project upgrades successfully according to Sitefinity Project Manager 7.1.5200.0, however when we go run the project, it shows an error. The weird thing is we've tried to update different instances of our app, and the error is different each time.

Sometimes the error is "Could not load file or assembly 'Newtonsoft.Json' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. " and sometimes it's "Could not load file or assembly 'System.Net.Http' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. 

 We have brought NuGet packages into the solution for the Web API and for Newtonsoft, but I'm surprised this upgrade is having trouble with that.

Posted by Community Admin on 19-Sep-2014 00:00

Hello Glen,

It is possible that a components in your solution is looking for a different dll version (in your case Newtonsoft.Json), and this can be easily solved as described in this blog post: Avoid Version errors with Assembly Binding.

It is needed to add the assembly name, token and specify the new version number of the assembly to be used.

Hope this helps.

Regards,
Vassil Vassilev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed