开发者

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 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜