Help! Explicit timeouts not being honored on Web Services on Vista Ultimate, IIS7
Posted on 2007-07-25
I've been struggling with this issue for quite some time, and cannot seem to find the right solution.
I have two classic ASP.NET applications, one of the applications hosts a bunch of web services. The other consumes the web services. One of the methods requires a long time to execute and runs synchronously.
On IIS7 and Vista Ultimate only (works on XP and Server 2003 w/ IIS6), the connection to the web service timesout. I've explictly set the executionTimeout on the httpRuntime element in the web.config to 3200 (1 hour). and in the instatiation of the proxy for the web service itself I set the timeout to infinity (i've tried 1 hour as well, with no luck).
Each time I try to execute a method that takes longer the 110 seconds, the connection to the web service times out. Anyone have any suggestions about what steps that I could take to resolve this, other that redesign the system to execute the web service asynchronously.
One thing to note, if I use the ASP.NET development web server which is part of Visual Studio 2005, the timeout issue disappears, and everything works fine. So I'm convinced this is specifically an issue with IIS7. I have to run on Windows Vista, as the web service interfaces with a remote compiler which needs the Vista API to link with as well as side by side assembly support, which leaves Orcas and Windows 2008 out for now.