WebService调度超时

来源:互联网 发布:知乎 永久封号 编辑:程序博客网 时间:2024/06/14 11:02

给客户开发了一个webService接口,在调用超时,提示:Server was unable to process request. ---> Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.

       网上查询了一下,解决方式:

     在 web.config 的 system.web 里添加如下配置项:< httpRuntime executionTimeout="30"/>
       将web.config 的 debug 模式关闭:< compilation defaultLanguage="c#"debug="false"/>





0 0
原创粉丝点击