Maximum length exceeded

问题引起:在调用WebService方法是返回的Json数据超出默认长度

解决方案:

<system.web.extensions>

       <scripting>

           <webServices>

        <jsonSerialization   maxJsonLength="10240000">

        </jsonSerialization>

           </webServices>

       </scripting>

    </system.web.extensions>

maxJsonLength设置成比较大的一个长度

 

Maximum request length exceeded

问题引起:请求字节长度超过了默认请求字节长度

httpRuntime    
   executionTimeout="1200"    
   maxRequestLength="102400"     
/>  

相关文章:

  • 2022-12-23
  • 2021-05-21
  • 2021-04-21
  • 2021-05-19
  • 2022-12-23
猜你喜欢
  • 2021-09-04
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-06
相关资源
相似解决方案