Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
Dear Friends,
 
Here iam Created one sample Wcf Service and iam Calling my Service in another Application.one to five times my service is working perfectly.After that the Exceptions is raising.Time out Exception is occured like that.How to solve this problem.
 
Time out Exception is Occured:The request channel timed out while waiting for a reply after 00:01:00. 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.
 

 

Regards,
 
AnilKumar.D
Posted 18-May-12 0:12am
Edited 18-May-12 0:13am
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Normally there will be a WCF communication channel through which the client is sending request to server and server responds via that channel. When communication is not happening or when the channel remains idle, WCF will kill the channel.
we can manually configure the timeout for WCF channel. To do this, there are two ways
 
1. Increase the timeout configuration in your app.config.
2. Implement a heart beat mechanism which will send request to some methods at server side and ensure that some communication is happening in the channel and channel timeout never happens.
 
Increase the timeout configuration in your app.config
Change your "receiveTimeout" configuration in your app.config at server side to
receiveTimeout="10675199.02:48:05.4775807"
Here the value given is the max value possible.
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Receiving a time out exception rarely relates to a timeout. It's one of the generic errors which get raised when the framework/transport doesn't actually know what the fault is.
 
Try enabled WCF tracing on your service. This should give you more details on why the call is failing.
 
Configure Tracing[^]
  Permalink  
v2
Comments
archanakumari at 18-May-12 7:04am
   
Iam not Getting Claerly about this article can u explain in clear mode

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

  Print Answers RSS
0 OriginalGriff 210
1 Richard MacCutchan 100
2 kbrandwijk 90
3 ProgramFOX 80
4 Mukesh Bhagat 65
0 Sergey Alexandrovich Kryukov 9,050
1 OriginalGriff 8,151
2 CPallini 2,613
3 Richard MacCutchan 2,221
4 Abhinav S 1,928


Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 31 May 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100