By Carmel ShvartzmanIn this tutorial we'll learn how to fix the error "Could not load file or assembly 'Microsoft.Data.Services, Version=184.108.40.206'" in an Asp.Net MVC application.
This error is thrown in case of a reference in your application, that points to the 220.127.116.11 version of the Microsoft.Data.Services assembly.
The error appears as this :
First i thought that the problem was in the web.config:
<assemblyIdentity name="Microsoft.Data.Services" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="18.104.22.168-22.214.171.124" newVersion="126.96.36.199" />
But as can be seen, there was explicitly stated to use the version 188.8.131.52 of the assembly.
Then i remembered that at the creation of the data Service, there is a definition of the version of the Microsoft.Data.Services assembly to be loaded:
Just change the version to the one you need : 184.108.40.206, & that's all!!
כתב: כרמל שוורצמן