私人资料库
本博客大部分技术文章,均从网络搜索得来,旨在收集整理技术资料,文章版权归属原作者,由此引起的任何版权问题,与本人无关。

【转自】http://www.zzsky.cn/build/content/702.htm

 

1.IIS->[网站]->属性-》连接超时,默认为120秒

2.WEB.CONFIG 手工添加httpRuntime,如

1<system.web>
2 <httpRuntime maxRequestLength="1000000" executionTimeout="2000" />
3</system.web>



3.同步执行WEBSERVICE时,需要设置TIMEOUT属性,如

1CompilerSvr.MyFavoritesService compiler=new FDN.DMS.Controls.CompilerSvr.MyFavoritesService(); 
2compiler.Timeout =2000000//毫秒


posted on 2009-01-06 10:28  该显示名称已被其他用户使用  阅读(148)  评论(0)    收藏  举报