System.ServiceModel.CommunicationException: The underlying connection was closed

后端 未结 5 2032
粉色の甜心
粉色の甜心 2020-12-31 04:14

I am retrieving data from a wcf web service and when data is more than 0.2 million records i get an exception which is as under:

System.ServiceModel.Communi         


        
5条回答
  •  一整个雨季
    2020-12-31 04:57

    Make your client basicHttpBinding the same as your server binding. This is a verry common error to only change one binding instead of server and client binding.

    If that not works you can enable wcf tracing: wcf tracing

    That will give you more insights in what the underling problem is.

提交回复
热议问题