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

Posted on 4/27/2010 @ 2:04 PM in #SharePoint by | Feedback | 1532 views

When you try accessing ListData.svc, do you get 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'.

Well, if you followed the instructions in Chapter 1 of my book to build your VM, you wouldn’t run into the above issue. But if you do, you need to install  -

 

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

Remember to:

a) Install the x64 version, and

b) Do an IISReset before trying again.

Sound off but keep it civil:

Older comments..


On 4/27/2010 1:51:31 PM Fred Morrison said ..
Will I run into this issue with the RTM edition of SharePoint 2010 Server that I downloaded on April 23, 2010 from MSDN?

P.S. if you're going to cite your book as a reference at least give us a link to it as part of the article :-)


On 4/27/2010 2:03:05 PM Sahil Malik said ..
Hey Fred - yep the above applies to RTM.

Here is the link to the book - http://www.amazon.com/Microsoft-SharePoint-2010-Building-Solutions/dp/1430228652/ref=sr_1_3?ie=UTF8&s=books&qid=1272391349&sr=8-3 .. also updated the above blogpost.


On 8/26/2010 5:18:57 AM Ravi Khambhati said ..
Hi,

This questioon is not related to this but its related to WCF service given by SP2010.

I want to consume WCF service for User Profile Service Application. When I try to browse this service I am getting below error message.

The URL for this service will look like :


http://localhost:[port]/[GUID]/ProfilePropertyService.svc


http://localhost:[port]/[GUID]/ProfileDBCacheService.svc

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:


System.InvalidOperationException: An exception was thrown in a call to a policy export extension.


Extension: System.ServiceModel.Channels.TransportSecurityBindingElement


Error: Security policy export failed. The binding contains a TransportSecurityBindingElement but no transport binding element that implements ITransportTokenAssertionProvider. Policy export for such a binding is not supported. Make sure the transport binding element in the binding implements the ITransportTokenAssertionProvider interface. ----> System.InvalidOperationException: Security policy export failed. The binding contains a TransportSecurityBindingElement but no transport binding element that implements ITransportTokenAssertionProvider. Policy export for such a binding is not supported. Make sure the transport binding element in the binding implements the ITransportTokenAssertionProvider interface.


at System.ServiceModel.Channels.TransportSecurityBindingElement.System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy(MetadataExporter exporter, PolicyConversionContext policyContext)


at System.ServiceModel.Description.MetadataExporter.ExportPolicy(ServiceEndpoint endpoint)


--- End of inner ExceptionDetail stack trace ---


at System.ServiceModel.Description.ServiceMetadataBehavior.MetadataExtensionInitializer.GenerateMetadata()


at System.ServiceModel.Description.ServiceMetadataExtension.EnsureInitialized()


at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.InitializationData.InitializeFrom(ServiceMetadataExtension extension)


at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.GetInitData()


at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.TryHandleDocumentationRequest(Message httpGetRequest, String[] queries, Message& replyMessage)


at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.ProcessHttpRequest(Message httpGetRequest)


at SyncInvokeGet(Object , Object[] , Object[] )


at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)


at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)


at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)


at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)


at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

I request you to give me some feedback on this. You can also give me link of any of the other site.

I hope you will provide me some direction for this.

Ravi


On 8/31/2010 5:42:29 AM Sztefano said ..
Dear Sahil, I have followed your instructions in Chapter 1 and sill run into this issue which was resolved with that OS Update. So I wonder where in chapter 1 you are referring to this?