0
votes

Whenever I attempt to consume WCF Data Service (version 5.0 of WCF Data Services), the proxy generation fails with the error message:

The operation could not be completed

Any ideas? The Data Service is built using VS2012, Entity Framework 5.0 and WCF Data Services 5.0. Client is Windows 8 built using VS2012.

I have also tried installing WCF Data service 5.3 installer but faces same issue.

1
You might consider enabling tracing (msdn.microsoft.com/en-us/library/ms733025.aspx) on your service and get to know the exact error by inspecting the trace file.Rajesh

1 Answers

0
votes

So basically I was facing issues on the entities which had a timespan datatype and throwed a "Operation cannot be completed" error while consuming the WCF data service in a Windows Store Client Library.

So the solution to the issue whilst consuming the WCF Data service to Windows Store app is to install the "WCF Data Services 5.6.0 Alpha Tools Installer" available here

Installing this resolved the issues faced while consuming the service.