简体   繁体   中英

ASP.NET web service timeout

I have a ASP.NET asmx web service which times out.

I see that IIS has couple of places where the timeout setting can be defined.

I also know that the timeout setting can be defined in the web.config file using the "httpRuntime" element.

I also see that the app pool the service runs under has its own timeout setting

I am not sure why Microsoft has chosen to have timeouts at multiple levels even though they would end up affecting the web service as a whole. (other than in case of the app pool, where multiple applications can be run under)

Can someone please help me understand which one has precedence?

在服务服务器端,请尝试在config中进行设置:

<httpRuntime executionTimeout="1200"/>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM