Data Error using REST in SharePoint 2010

I recently began a project in which I wanted to consume and use the REST data services offered by SharePoint 2010 only to find a wonderful error waiting for me to be discovered. Browsing to the service (http://<server>/_vti_bin/listdata.svc)  in a web browser provided this response:

image

After some fairly quick Google searches, I discovered there is a service pack release that must be installed to enable this service. The name of the service pack release is ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 7 and Windows Server 2008 R2 and can be found at the following URL.

http://www.microsoft.com/downloads/en/details.aspx?familyid=79d7f6f8-d6e9-4b8c-8640-17f89452148e&displaylang=en

Installing this update will require a reboot of the server. Once the service pack has been installed and the server rebooted, I received a much different response:

image

This means the service is now setup and running correctly. You should be able to point any VS studio project to it and retrieve the list of results.

image

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s