Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
While running my application I am getting the following Exception.
The request channel timed out while waiting for a reply after 00:00:59.9990000. 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.

Can anybody suggest a solution for this?
Posted
Updated 10-Jun-12 19:36pm
v2
Comments
sagar wasule 11-Jun-12 1:23am    
ur operation might be taking longer time , u can increase the time out in Web.Config
Member 8650683 11-Jun-12 1:25am    
i have tried that.but no use.
sagar wasule 11-Jun-12 1:27am    
Make it 00:10:00 i.e. for 10minutes .. I mean that increase the timeout

In your binding configuration, there are four timeout values 1) openTimeout as the name implies is the amount of time you're willing to wait when you open the connection to your WCF service. 2)closeTimeout is the amount of time when you close the connection 3) sendTimeout, which says how long the client will wait for a response from your WCF service 4) receiveTimeout is a bit like a mirror for the sendTimeout.

To fix your issue, you need to tweak the most important 'sendTimeout' as:

HTML
<bindings>
  <basichttpbinding>
    <binding name="IncreasedTimeout">
             sendTimeout="00:25:00">
    </binding>
  </basichttpbinding>
</bindings>
 
Share this answer
 
Comments
Mehdi Gholam 11-Jun-12 1:39am    
5'ed
Ganesan Senthilvel 11-Jun-12 2:07am    
Thanks Mehdi
 
Share this answer
 
Comments
Member 8650683 11-Jun-12 2:06am    
Thanks for your reply.But it is also not working.

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