开发者

ASP.NET web service timeout

开发者 https://www.devze.com 2023-01-05 02:55 出处:网络
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 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 t开发者_运维技巧he 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?


on the service server side, try setting this in config:

<httpRuntime executionTimeout="1200"/>
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号