How to make sure you don't get WCF Faulted state exception?

前端 未结 5 549
鱼传尺愫
鱼传尺愫 2020-12-12 13:09

I am getting this exception:

The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication becaus

5条回答
  •  鱼传尺愫
    2020-12-12 13:38

    This error can also be caused by having zero methods tagged with the OperationContract attribute. This was my problem when building a new service and testing it a long the way.

提交回复
热议问题