文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Json MaxJsonLength Error

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.>

相关阅读 更多 +
排行榜 更多 +
hacked

hacked

休闲益智 下载
佩科佩科的寿司手机版

佩科佩科的寿司手机版

休闲益智 下载
钓鱼好友

钓鱼好友

休闲益智 下载