Could not load type 'System.Data.Services.Providers.IDataServiceUpdateProvider' from assembly


In this article we will be seeing how to resolve 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'".

Error:

When you try to access the SharePoint list using REST API through the URL http://servername:12345/_vti_bin/listdata.svc you may be getting the following error.

RstAPIShare1.gif

Reason:

The reason for the error would be you may not have installed ADO.Net Data Services in your computer server.

ADO.Net Data Services:

Note: Download the files appropriate to you or else when you try to install you would be getting the following error.

RstAPIShare2.gif

Windows 2008 R2:

For Windows 2008 R2 select the following one

RstAPIShare3.gif

Install ADO.Net Data Services:

  1. Open the downloaded file.

    RstAPIShare4.gif
     
  2. Windows Update Standalone Installer wizard will pop up.

    RstAPIShare5.gif
     
  3. Click on Yes.

    RstAPIShare6.gif
     
  4. Restart your server.
  5. Now try to access the list using API, you would be able to access the list successfully.