Sunday, December 12, 2010

WCF/ADO.NET Data Services - Could not load type 'System.Data.Services.Providers.IDataServiceUpdateProvider'

For the SharePoint 2010 users, you might wonder the announcement of Microsoft for the support of RESTFul services is giving error when you try to access the /_vti_bin/listdata.svc.

Error : Could not load type 'System.Data.Services.Providers.IDataServiceUpdateProvider' from assembly 'System.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Work-around :
For Windows Vista and Windows 2008 - http://www.microsoft.com/downloads/details.aspx?familyid=4B710B89-8576-46CF-A4BF-331A9306D555&displaylang=en

For Windows 7 and Windows 2008 R2 - http://www.microsoft.com/downloads/details.aspx?familyid=79d7f6f8-d6e9-4b8c-8640-17f89452148e&displaylang=en

P.S : Don't forget to reset the iis. Otherwise you will get the error recurrently.