The underlying connection was closed: The connection was closed unexpectedly

前端 未结 10 1066
忘掉有多难
忘掉有多难 2020-12-08 11:40

This exception is consistently thrown on a SOAP Request which takes almost three minutes to receive and is 2.25 megs in size.

When scouring the web I find all sorts

10条回答
  •  失恋的感觉
    2020-12-08 12:23

    I have added another field, but didn't have a set on the property. That was my solution for the same error.

    [DataMember]
    public bool HasValue
    {
        get { return true; }
        set { }//adding this line made the solution.
    }
    

提交回复
热议问题