关于ajax访问webservice查询数据量稍微大一点,就会返回error500的解决方案

只需要在web.config的configeration节点中增加如下子节点即可:

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

posted on 2019-01-11 11:01  PIANO_HUHU  阅读(358)  评论(0编辑  收藏  举报

导航