如题

 

报错提示:

使用 JSON JavaScriptSerializer 进行序列化或反序列化时出错。字符串的长度超过了为 maxJsonLength 属性设置的值。","StackTrace

 

解决方案 在web.config 中configuration节点 插入

  <system.web.extensions>
    <scripting>
      <webServices>
        <jsonSerialization maxJsonLength="1024000" />
      </webServices>
    </scripting>
  </system.web.extensions>

 

相关文章:

  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2021-07-18
猜你喜欢
  • 2021-10-22
  • 2021-08-16
  • 2021-10-10
相关资源
相似解决方案