WebService调度超时

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





你可能感兴趣的:(WebService调度超时)