错误提示如下
Web service 超过了最大请求长度 错误解决System.Web.Services.Protocols.SoapException: 运行配置文件中指定的扩展时出现异常。 ---> System.Web.HttpException: 超过了最大请求长度。
Web service 超过了最大请求长度 错误解决   在 System.Web.HttpRequest.GetEntireRawContent()
Web service 超过了最大请求长度 错误解决   在 System.Web.HttpRequest.get_InputStream()
Web service 超过了最大请求长度 错误解决   在 System.Web.Services.Protocols.SoapServerProtocol.Initialize()
Web service 超过了最大请求长度 错误解决   --- 内部异常堆栈跟踪的结尾 ---
突然出来的,原来web service 运行的好好的
解决方法
修改 web.config如下
Web service 超过了最大请求长度 错误解决<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
原来好像是 4096 然后就好了
特此留念

相关文章:

  • 2021-05-25
  • 2021-10-20
  • 2021-12-29
  • 2022-02-27
  • 2021-10-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2022-02-17
  • 2021-07-11
  • 2021-12-07
相关资源
相似解决方案