Json MaxJsonLength Error
时间:2010-12-28 来源:冀中
From MSDN: http://msdn.microsoft.com/en-us/library/bb763183.aspx
"maxJsonLength. Specifies the maximum length of the JSON string (the maximum number of UTF-8 characters). The default length is 102400."
So the solution is that you need to increase the value for jsonserialization attribute. For example I set it to "500000"
view sourceprint
<system.web.extensions><scripting>
<webServices>
<jsonSerialization maxJsonLength="500000"/>
</webServices>
</scripting>
</system.web.extensions>
Below is the screen shot with the position where you need to place the "jsonserialization" tag.>
相关阅读 更多 +
排行榜 更多 +