Skip to content
Mar 26 / Michaël Hompus

Could not load type IDataServiceUpdateProvider when using REST with SharePoint 2010

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 Windows 7 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 2000, Windows XP, Windows Vista, Windows Server 2003 AND 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.

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.

9 Comments

leave a comment
  1. Jason Visser / Apr 1 2010

    Nice one this sorted my issue out!

  2. Steve / May 8 2010

    Thanks, this was driving me nuts!

  3. Amir / Jun 9 2010

    Thanks for figuring this out!!

  4. Jesus Lopez / Jul 15 2010

    This is perfect for me case. Thanks.

  5. rachana / Aug 9 2010

    Thanks a lot. It really helped me.

  6. Phil / Aug 12 2010

    Thanks for sharing!

  7. merry andrew / Aug 17 2010

    Thank you ^_^

Trackbacks and Pingbacks

  1. Tweets die vermelden Could not load type IDataServiceUpdateProvider when using REST with SharePoint 2010 | Michaël's coding thoughts -- Topsy.com
  2. SharePoint 2010 RTM REST Implementation « MsAdvisor
Leave a Comment