ASP.NET超时设置

作者:互联网

2009-06-30

ASP.NET教程
1.IIS->[网站]->属性-》连接超时。默认为120秒
2.WEB.CONFIG 手工添加httpRuntime,如

 

3.同步执行WEBSERVICE时,需要设置TIMEOUT属性,如
 CompilerSvr.MyFavoritesService compiler=new FDN.DMS.Controls.CompilerSvr.MyFavoritesService();
   compiler.Timeout =2000000; //毫秒

相关标签:

ASP.NET