Are you getting InvalidOperationException while creating ServiceHost for your service and getting message in style of "In order to add an endpoint to the service 'MyService', a non-empty contract name must be specified."? the probable reason is that you've missed contract definition in one of it's endpoints. Go to the endpoints list in your .config file and check that each endpoint has 'contract="MyContracts.IMyInterface"' tag. |
Wednesday, August 15, 2007
In order to add an endpoint to the service MyService, a non-empty contract name must be specified.
Subscribe to:
Post Comments (Atom)
1 comment:
thanks for sharing this info
Post a Comment