我目前有一个带有PDF附件的表格.每个PDF文件的大小可达1MB.问题是我得到的值是"Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property"
我已经在网上发布了以下内容.但问题是,只有当剑道用户界面网格需要显示6条记录时,它才有效.
<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength = "2147483647"></jsonSerialization>
</webServices>
</scripting>
</system.web.extensions>