Silverlight 3.0 and ADO.NET data service framework(An error occurred while processing this request)
Today , I try to write a Silverlight app that talks to SharePoint 2010 using the REST API.However after deploy the silverlight app and run the code , I got the following error.In order to fix this I need to make the target framework of your caller application to 4.0,in this case I need to use Silverlight 4.0 instead 3.0.After I have done that and redeploy the solution to the SharePoint.It works like a charm.
System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request.
Request version ‘1.0’ is too low for the response. The lowest supported version is ‘2.0’.
However , if you got the error like this: Could not load type ‘System.Data.Services.Providers.IDataServiceUpdateProvider’ from assembly ‘System.Data.Services, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089’,then you need to install ADO.NET Data Services Update for .NET Framework 3.5 SP1 ,you can download here (for windowns 7 and server 2008 r2 ) or here (for windows vista of server 2008).