The length of the string exceeds the value set on the maxJsonLength property

现象:

李勇webservice从后端获取数据时,系统提示“The length of the string exceeds the value set on the maxJsonLength property”

 

解决方案:

1、Json数据的长度超过了默认的102400!
2、若数据量过大,则会出现如上错误信息。

3、只需在Web.config中修改maxJsonLength即可

   
     
       
       

     

   

 
 

转载于:https://www.cnblogs.com/advocate/archive/2010/06/05/1752388.html

你可能感兴趣的:(The length of the string exceeds the value set on the maxJsonLength property)