"景先生毕设|www.jxszl.com

System.Web.Services.Protocols.SoapException:“运行配置文件中指定的扩展时出现异常。 ---> 超过了最大请求长度。

2023-09-27 09:53编辑: www.jxszl.com景先生毕设

System.Web.Services.Protocols.SoapException:“运行配置文件中指定的扩展时出现异常。 ---> 超过了最大请求长度。

webservicer超过了最大请求长度问题原因asp.net web service默认的请求长度是4M

webservicer超过了最大请求长度解决办法: 修改配置增加最大长度
在Web.config中修改:
<configuration>
<system.web>
<httpRuntime maxRequestLength="1000000" executionTimeout="300" />
</system.web>
</configuration>


原文链接:http://www.jxszl.com/biancheng/C/445401.html