Dev Notes

Notes on Development with Microsoft Technologies

Data Error using REST in SharePoint 2010

Leave a comment

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

Author: Chris Quick

I have been a developer of web based solutions since early 2001 delivering solutions to a wide array of organizations using ASP, ASP.NET and SharePoint. I was introduced to SharePoint in 2003 when the consulting firm I worked for at the time introduced it into the workplace. I began working with MOSS 2007 as soon as Microsoft released the RTM version in November 2006. The platform was implemented at the organization I worked for in 2007 and went live in March of that year. I was tasked with the administration and ongoing development of the platform. I currently work as a SharePoint Architect with Artis Consulting, developing solutions for a wide variety of business problems. The goal of this blog is to share my discoveries developing solutions with SharePoint. I welcome your comments and feedback to any post -- and I welcome suggestions for future topics.

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