Recently, I received this error when I was trying to add a ServiceReference (WCF) to my application. To solve this issue upgrade your WCF to the latest version, WCF Data Services 5.0 for OData V3.
Once you have downloaded and installed the ‘exe’:-
- Remove any existing references to existing assemblies the name of which start with System.Data.Services from all your projects.
- Instead add the reference of Microsoft.Data.Services.Client.dll wherever System.Data.Services.dll was used.
Microsoft.Data.Services.Client.dll can be found at the location, %programfiles(x86)%\Microsoft WCF Data Services\5.0\bin
To get more details about this upgrade, kindly visit the following link,