WebService调度超时
发布时间:2020-12-16 22:15:16 所属栏目:安全 来源:网络整理
导读:给客户开发了一个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
给客户开发了一个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"/> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |