ajax 请求 服务器 响应内容过长 返回500错误的解决方法

时间:2023-03-08 16:51:22

在web.config试试加上

    <system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="#####"/>
</webServices>
</scripting>
</system.web.extensions>
收获园豆:50
Yu | 专家六级 |园豆:12329 | 2015-02-05 16:37

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkAAAAEvCAIAAAAisulzAAAgAElEQVR4nO2dPc4st5VAexOKP+WzAQezAksOvZCB5C0YsLOJLAWOBMfzUkNy4ngwGxhYcjaAwwHsZIDvTtBSm4/kvXXJYhX/zgHx0MVi3WJV98fzWD/kQ2bgDwG96wIAAEPw6F0BF3gLAAAiEBgAAEwJAgMAgClBYFfxmOPU7gtfEMDsNP4j/pd//49nKlq1Hlrj+M0nn3zzySf31uXa/d58OMaBPFcV1QeHAUxNy7/gUE6RqF6LToH9QadhhS/Cbha7COz8fg1tnAnbsCaetSk4DGBerhKYlEsrRBPV+AI7bBBXEtgz8/5OWPXaLDgMYFIQWEvsK4fpNa408/U5e0HsTPnq/WpBRBeYUb7ouOydZi8YapGziy9wGMCMXHgJMRJY0T2wGQVm2Cu7aORH/mhevihOdjHMNEqWfk7rme6itJ6eAxEcBjAhFz7EEQrMuD2W5SmqX36MjC0wURpBWxjZzker8k3iZBfDTKchjHyjPlmB1dXTqAP2ApiRC/9wtUuIfoH588chbQqdgrm6fHUcbSv7Kp92fU+7JKjV5waBYS+ASUFg7YkaxIUFZqz1598mMOwFsBjtLyFGH2Q/gcnHzaJ2/+akeIryz+w3u5jGb/I5rU8TgUly5+wJ9gKYmpteZH7l7/Ae2JPIYa8GNHJJelXNc2kujXC4aO/XXgwztcj2QRn5Rn0kEFg2vvO8SU5s2AtgdvgjHg6tDwFn4KwCrMccApuo43USrQMBdXA+ARYGgQEAwJQgMAAAmBIEBgAAU4LAAABgShAYwAQ8Ho/XvwClrPr7meN4dhDYcj8taMaqrQ/cw8K/nzteZA7fYq6blHl5gXX/aRnPmpc+i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+Ni10tsF//5msERiItny5r32BxHiLy/Veff/rldx8J7E+/+vSLb0Xkuy8//eyr70XkT7/69ItvG9vLFtjTXgiMRFo+XdnEwco8ROT9+68+++yr74Pe1ft3X779KLC3n//uL+8/fP35Z7/7S+vulyGwl70QGIm0fLq4lYNleYjI+/t3X358efD9/fuvPn9eQ/zi2/f3892vDx8+/FvAhw8fDIGF9kJgJNLy6fqGDtbkJ4G9ffGt0sH6qfsV3xWrdtjLXprA/k4PjETaKV3cysGyPH5U1M/zVwjfX1cPg7tiX35X2Rv78OFDaC9DYH/nHhiJtE26somDlXmIyA9ff/6UU0ZgP3krvCvW8GkOnkIkkUiXtW+wOI/Xja6MvX7qfsmP98ne3t7e3po+zW8pzG0AAAAYSURBVMF7YCQS6ZrGDdZn9BeZAQAAsvw/RMZHn9blS88AAAAASUVORK5CYII=" alt="" />

第一次我尝试加了,只是位置不是在这个地方,报错,没仔细想,现在看到你的回复,死马当活马医,又加了一次,不过这一次加在末尾,没报错,保存,成功!thank you!

蓝色的猫儿 | 园豆:281 (菜鸟二级) | 2015-02-05 16:42

@蓝色的猫儿: 刚刚仔细想了一下,500错误看来还是服务端的问题。返回的数据太大,webservices序列化为json格式时报错,但是这个错误在webservices又无法调试出来,得在webconfig里面配置,原来如此!

蓝色的猫儿 | 园豆:281 (菜鸟二级) | 2015-02-05 16:49

@蓝色的猫儿: 但是为什么浏览器访问的时候又是正常的呢?因为手动访问数据不json化,直接返回字符串,看webconfig配置的信息,应该是只有通过jquery ajax脚本访问webservices的时候,返回数据会json化。

蓝色的猫儿 | 园豆:281 (菜鸟二级) | 2015-02-05 16:53

@蓝色的猫儿: 可以试试这样显示

  <system.web>
<compilation debug="true" />
<customErrors mode="Off"/>
</system.web>
<system.webServer>
<httpErrors errorMode="Detailed"/>
<asp scriptErrorSentToBrowser="true"/>
</system.webServer>