This could be due to the service endpoint binding not using the HTTP protocol

前端 未结 22 2337
梦谈多话
梦谈多话 2020-12-22 23:10

I have a WCF Service running fine on my local machine. I put it on the servers, and I am receiving the following error:

An error occurred while receiv

22条回答
  •  离开以前
    2020-12-23 00:09

    For more insight into this issue, also see: An existing connection was forcibly closed by the remote host - WCF

    My problem ended up being that my data transfer objects were too complex. Start withsimple properties like public long Id { get; set; } and once you get that working than start adding additional stuff as needed.

提交回复
热议问题