Using SharePoint 2010 Beta 1 REST services on Windows 7 or Windows Server 2008 R2

27. February 2010

Today, I’m presenting this session from PDC at a local code camp.  In setting up my demo, I’ve been trying to get the SharePoint 2010 beta 1 server setup so that it can be queried using WCF Data Services (formerly ADO.Net Data services).  Whatever I try, I continue getting the following error:

WebHost failed to process a request.

Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/40906347
Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/listdata.svc' cannot be activated due to an exception during compilation.  The exception message is: Could not load file or assembly 'Microsoft.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified..

The good news is that there is a solution for this problem.  The ADO.Net Data Services 1.5 CTP 2 runtime needs to be installed as well as a patch.

The runtime can be found at: http://www.microsoft.com/downloads/details.aspx?FamilyID=a71060eb-454e-4475-81a6-e9552b1034fc&displaylang=en#filelist

The patch is available at:
http://www.microsoft.com/downloads/details.aspx?familyid=79d7f6f8-d6e9-4b8c-8640-17f89452148e&displaylang=en#filelist

Development ,

Comments are closed