How to Fix a Common SharePoint 2010 OData Error
According to Microsoft, OData “… applies web technologies such as HTTP, Atom Publishing Protocol (AtomPub) and JSON to provide access to information from a variety of applications, services, and stores.”.
Recently I was working with OData for a Fpweb.net SharePoint Server 2010 hosting client, and encountered the following error:
"Could not load type 'System.Data.Services.Providers.IDataServiceUpdateProvider' from assembly 'System.Data.Services, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089'."
So what the heck does that mean?!?!
This error indicates that there is a missing assembly (
System.Data.Services) on the SharePoint 2010 Web server which is required for processing the OData requests from ListData.svc.
How can I fix this SharePoint Ninja-Style?!?!
Good question, grasshoppa… To remedy this error you will need to install the ADO.Net Data Services Update for .NET Framework 3.5 SP1 (x64).
Important Notes About Installing the Update:
- Notice that there are different versions for different operating systems.
- Be aware that the installer will ask you to reboot after the installation completes.
How do I know if I fixed the OData Error?
http://[yourdomain]/_vti_bin/ListData.svc. If your XML SharePoint data is returned, you’ve done it!
WINNING! As always, please hit me with your questions/comments/success stories in the comments area below!