Silverlight 3.0 and ADO.NET data service framework(An error occurred while processing this request)
Posted
by ybbest
on YBBest
See other posts from YBBest
or by ybbest
Published on Sun, 03 Oct 2010 06:40:37 +0000
Indexed on
2010/12/30
22:01 UTC
Read the original article
Hit count: 203
SharePoint 2010
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.
Exceptions details:
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=3.5.0.0, 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).
© YBBest or respective owner