Raise the time-out for a single webservice

Posted by Carra on Stack Overflow See other posts from Stack Overflow or by Carra
Published on 2010-03-29T09:28:07Z Indexed on 2010/03/29 9:33 UTC
Read the original article Hit count: 335

Filed under:
|
|

My web configuration looks as follows:

<system.web>
    <compilation debug="false"/>
    <httpRuntime executionTimeout="90"/>
</system.web>

This is fine for most webservices but one webservice has a query that is running a very long (5 minutes) time and will be stopped before it has finished. Is it possible to set the runtime to 5 minutes for this webservice alone?

I've thought about running the database query async (fire and forget) but it doesn't seem possible with sybase/oracle through ODBC.

© Stack Overflow or respective owner

Related posts about web-services

Related posts about c#