using SharePoint REST Services Load ListData.svc Fail

I wanted to use the new REST services in SharePoint 2010. But when I navigated to the ListData.svc service. I got the following error:

Screenshot displaying SharePoint 2010 showing the following error: "Could not load type 'System.Data.Services.Providers.IDataServiceUpdateProvider' from assembly 'System.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'." 

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.

For Windows7 AND Windows Server 2008 R2

Download the ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 7 and Windows Server 2008 R2.

After installing the version of the System.Data.Services.dll file is 3.5.30729.5004.

For Windows Vista, Windows Server 2008

Download the ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 2000, Windows Server 2003, Windows XP, Windows Vista and Windows Server 2008.

After installing the version of the System.Data.Services.dll file is 3.5.30729.4466.

 

Reset the IIS

Testing

After I installed the update I browsed to the ListData.svc service.

 

Screenshot displaying the service description of a SharePoint 2010 Team Site as atom feed.

The service description of a SharePoint 2010 Team Site as atom feed.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值