1. 首先去各个网站的Web.config
IIS的修改功能不太方便,直接修改比较好,增加executionTimeout
<system.web>
<httpRuntime maxRequestLength="2097151" executionTimeout="3600" />
</system.web>
2. IIS site -> advanced setting -> connection time-out -> 改成360就是6分钟,应该足够了。
3. IIS application pool -> advanced settings -> Ping Max Response,还有接下去的几个,都改成360,也够了。
4. 如果Brower十几秒就Timeout了,那么是浏览器的问题,和服务器无关。
运行regedit,
HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionInternet Settings
修改ReceiveTimeout,变成360000
修改KeepAliveTimeout, 变成360000
重新启动IE,就可以了。
executionTimeout:指示在被 ASP.NET 自动关闭前,允许执行请求的最大秒数,页面执行限制时间
sessionState的timeout设置sesinon超时时间
ResponseDeadlockInterval
获取或设置一个值,该值指示辅助进程的响应间隔。