ASMX服务无法处理多个MB文件,即使文件限制设置为10 MB。获取以下异常:
Event code: 3001
Event message: The request has been aborted.
Event time: 10/1/2019 8:58:14 AM
Event time (UTC): 10/1/2019 6:58:14 AM
Event ID: cb5b16e465ee4a0cb4885c8e8fdddfrd
Event sequence: 982
Event occurrence: 35
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/3/ROOT-1-132143473094866215
Trust level: Full
Application Virtual Path: /
Process information:
Process ID: 22352
Process name: w3wp.exe
Exception information:
Exception type: HttpException
Exception message: Request timed out谢谢。
发布于 2019-10-03 07:44:17
发出警告的原因是,执行时间超过了当前设置的ASP.NET请求执行超时值。
您需要增加执行超时值。
在web.config文件中设置以下代码:
<system.web>
<httpRuntime executionTimeout="180" />
</system.web>还增加iis站点连接超时值。
Settings".
。

进行更改后,重新启动iis服务器。
https://stackoverflow.com/questions/58183031
复制相似问题