System.ServiceModel.CommunicationException: The underlying connection was closed

后端 未结 5 2153
粉色の甜心
粉色の甜心 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 05:07

    This statement solved my problem:

    db.ContextConfiguration.ProxyCreationEnabled = false;
    

提交回复
热议问题