I have a WCF hosted on IIS7. When I try to consume a service that takes more than 90 seconds to produce results, it times out after 90 second.
- In web config, I have increased my executionTimeout to 900 seconds
<system.web> <compilation debug="false" strict="false" explicit="true" targetFramework="4.5" /> <httpRuntime targetFramework="4.5" executionTimeout="900" shutdownTimeout="900" maxRequestLength="2097152" enable="true"/> <pages> <namespaces> <add namespace="System.Runtime.Serialization"/> <add namespace="System.ServiceModel"/> <add namespace="System.ServiceModel.Web"/> </namespaces> </pages> <customErrors mode="Off"/> <trace enabled ="true" pageOutput ="true" requestLimit ="20" traceMode="SortByTime" /> </system.web>
On the IIS side, I have set scriptTimeout to 00:05:10. (Default Website->ASP->Limits Properties->scriptTimeout)
In Application Pools, Advanced Settings, I have set Ping Maximum Response Time to 300 seconds (as well as Shutdown Time Limit. Though I don't think this helps.)
Even though I have increased every timeout variable I could find to over 90 second, my service still times out at 90 seconds.
Anyone know a timeout I might have missed?