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; //毫秒

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-22
  • 2021-10-20
  • 2021-08-05
  • 2021-10-02
  • 2021-11-30
  • 2021-08-19
猜你喜欢
  • 2022-12-23
  • 2022-02-22
  • 2022-02-12
  • 2021-06-10
  • 2021-07-28
  • 2021-12-24
相关资源
相似解决方案