I\'ve just uploaded a Asp.Net Web Api 2.2 project to production server and I got the error stated in the title.
In my Web.config I already have this:
Another way to do this, which do not require a New build or update/reinstall With Nuget is to do the following in config.web:
For the dll you have issues With, do the following:
<bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="5.2.2.0">
I had an issue today, and this little tweak solved it...