System.ServiceModel.CommunicationException: The underlying connection was closed

后端 未结 5 2155
粉色の甜心
粉色の甜心 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:01

    Add following configuration to your wcf service config. And see c:\log\Traces.svclog file. My exception was throw for ;

    There was an error while trying to serialize parameter The InnerException message was 'Enum value '0' is invalid for type 'ThyCams2014.XrmBase.new_filingstatu' and cannot be serialized. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attrienter code herebute.'. Please see InnerException for more details.

    
       
          
                
                
                   
                
             
          
       
    
    

提交回复
热议问题