当前位置 : 主页 > 网页制作 > Nodejs >

WebService调度超时

来源:互联网 收集:自由互联 发布时间:2021-06-24
给客户开发了一个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 p

给客户开发了一个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"/>
网友评论