<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<!-- allow for intensive calculations in reports -->
<httpRuntime executionTimeout="6000" />
</system.web>
</configuration>
据一位评论人士称
first link you provided
背景
Server.ScriptTimeout = 3600;
这不是一个全球性的变化,所以你可能也要重新考虑这个选择。
杰拉尔德
写的
回复:ASP.NET的超时
页
2006年11月29日星期三下午3:38
通过编写一个包含
将ScriptTimeout属性设置为
3000,而在另一页
属性的值未更改。
结果表明,在加载
第一页,然后是第二页
第二页将恢复为默认页
值(释放时为90秒,
在配置文件中。在里面
在全球层面上不会发生变化。