增加ASP.NET 2.0 Web服务超时

增加ASP.NET 2.0 Web服务超时,asp.net,web-services,timeout,asmx,Asp.net,Web Services,Timeout,Asmx,由于通过web服务调用复制/散列4GB文件,我需要增加ASP.NET 2.0 web服务超时值。我做了以下配置 Set proxy timeout=7200000 在客户端代码中 在client machine web.config文件中,compilation debug=“false”httpRuntime maxRequestLength=“2048000”executionTimeout=“14400” 在承载web服务web.config文件的服务器计算机上 compilation

由于通过web服务调用复制/散列4GB文件,我需要增加ASP.NET 2.0 web服务超时值。我做了以下配置

Set proxy timeout=7200000
在客户端代码中

在client machine web.config文件中,compilation debug=“false”httpRuntime maxRequestLength=“2048000”executionTimeout=“14400”

在承载web服务web.config文件的服务器计算机上

compilation debug="false"
httpRuntime maxRequestLength="2048000" executionTimeout="10800"
在服务器machine.config文件中

processModel responseDeadlockInterval="05:00:00" userName="XXX" password="XXX" autoConfig="true" webGarden="true" At server machine MetaBase.xml file AspMaxRequestEntityAllowed="1073741824" AspScriptTimeout=”10800”AspSessionTimeout=”60”ConnectionTimeout=”14400” 

服务器计算机在Internet上。在上述配置下,服务器计算机web服务日志仍然存在
线程被中止的异常情况
,在文件复制/哈希操作期间大约2分钟后。为什么增加超时不起作用?

尝试按照本文的建议在Web服务Web.config中设置maxAllowedContentLength设置