Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
we are getting the below error when we request to wcf application that is hosted on iis


Error :

The request channel timed out while waiting for a reply after 00:00:59.9687500. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

and even if we give timeout of send,receive, open and close as 00:02:00 or if we change any time same error getting so please help us out and the web.config is as follows


HTML
<pre lang="text">


<system.web>
    <httpruntime executiontimeout="300" />
    <customerrors mode="Off" />
    <compilation debug="true" defaultlanguage="c#" targetframework="4.0" />
  </system.web>
  <system.servicemodel>
    <behaviors>
      <servicebehaviors>
        <behavior>
          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
          <servicemetadata httpgetenabled="true" />
          <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
          <servicedebug includeexceptiondetailinfaults="false" />
        </behavior>
      </servicebehaviors>
    </behaviors>
    <bindings>
      <basichttpbinding>
        <binding name="WCFBinding" opentimeout="00:02:00">
          receiveTimeout="00:02:00" closeTimeout="00:02:00"
          sendTimeout="00:02:00">
        </binding>
      </basichttpbinding>
    </bindings>
    <servicehostingenvironment multiplesitebindingsenabled="true" />
  </system.servicemodel>
  <system.webserver>
    <modules runallmanagedmodulesforallrequests="true" />
  </system.webserver>
Posted
Updated 20-Mar-12 3:04am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900