ASP.NET的超时设置
1.IIS->[网站]->属性->连接超时。默认为120秒
2.WEB.CONFIG 手工添加httpRuntime,如
<system.web>
<httpRuntime maxRequestLength="1000000" executionTimeout="2000" />
</system.web>
3.同步执行WEBSERVICE时,需要设置TIMEOUT属性,如
CompilerSvr.MyFavoritesService compiler=new FDN.DMS.Controls.CompilerSvr.MyFavoritesService();
compiler.Timeout =2000000; //毫秒
您可能感兴趣的文章:
ASP.NET的超时设置
asp.net在web.config和IIS中设置Session过期时间的方法
asp.net 超时设置的方法介绍
asp.net的各种超时问题小结
asp.net超时时间与上传文件大小的设置方法
asp.net 执行sql超时的解决方法分享
asp.net Session丢失的解决方法
win2003应用程序日志-状态服务器已关闭超时的 TCP/IP 连接的解决方法
TextBox中TextMode为MuiltLine时如何设置最大长度
web.config限制上传文件大小与时间的属性配置简介