Saturday, November 7, 2009

WCF service error contract name not found

I had a stupid error a few weeks back which involved a WCF service, A end of the day configuration issue and some totaly unrelated error message. In short after googleing i came across the solution and i decided it was one to remember.

solution on the blog of :

The contract name xxxxxxx could not be found in the list of contracts implemented by the service

So what you need to do:
Check names of interfaces
Check namespaces
Check the service attributes (
[AspNetCompatibilityRequirements(RequirementsMode=AspNetCompatibilityRequirementsMode.Allowed)])

No comments:

Post a Comment