wanted to use the new REST services in SharePoint 2010. But when I navigated to the ListData.svc service. I got the following error:
First I checked if there was a System.Data.Services entry in the Global Assembly Cache (GAC). There was one with version 3.5.30729.1. So it wasn’t a case of a missing file.
Searching the web on the error
Could not load type ‘System.Data.Services.Providers.IDataServiceUpdateProvider’ from assembly ‘System.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′.
does not provide many hints to what is causing this error. Most sites suggest to install ADO.NET Data Services v1.5 CTP2, but I already had.
I finally found the page REST and SharePoint 2010 Quick Start Guide by Scott Currier. He suggests to install the ADO.NET Data Services Update for .NET 3.5 SP1. As it runs out, this is the final release of the ADO.NET Services v1.5!
The update comes in two flavors.
After installing the version of the System.Data.Services.dll file is 3.5.30729.5004.
After installing the version of the System.Data.Services.dll file is 3.5.30729.4466.
After I installed the update I browsed to the ListData.svc service.
The service description of a SharePoint 2010 Team Site as atom feed.
Más información:
No hay comentarios:
Publicar un comentario