WCF The underlying connection was closed: An unexpected error occurred on a receive

前端 未结 4 1440
忘掉有多难
忘掉有多难 2021-01-12 02:42

I am using a RestClient app to communicate with my WCF service .and I am getting the following exception

The underlying connection was closed: An unexpected         


        
4条回答
  •  抹茶落季
    2021-01-12 02:58

    I dont't know if is the same error, but in my case, the exception was in Json, that cannot convert the Date value, because it was empty.

    DateTime values that are greater than DateTime.MaxValue or smaller than DateTime.MinValue when converted to UTC cannot be serialized to JSON.

    The trace viewer was very useful to find the issue.

提交回复
热议问题