iis 7 - Increasing Timeout for WCF hosted on iis7 -


i have wcf hosted on iis7. when try consume service takes more 90 seconds produce results, times out after 90 second.

  1. in web config, have increased executiontimeout 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>
  1. on iis side, have set scripttimeout 00:05:10. (default website->asp->limits properties->scripttimeout)

  2. in application pools, advanced settings, have set ping maximum response time 300 seconds (as shutdown time limit. though don't think helps.)

even though have increased every timeout variable find on 90 second, service still times out @ 90 seconds.

anyone know timeout might have missed?

i took config on test server... works. you're going want change these values.

    <binding name="tcp_unsecured_highlimit" closetimeout="23:59:59" opentimeout="23:59:59" receivetimeout="23:59:59" sendtimeout="23:59:59" >       <readerquotas maxdepth="104857600" maxstringcontentlength="2000000000" maxarraylength="2000000000"                      maxbytesperread="2000000000" maxnametablecharcount="2000000000" />       <security mode="none" />     </binding>   </nettcpbinding> </bindings> 


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -