I'm new to this. I'm developing a simple WCF service with a Winforms application on my laptop (2008). It seems to run okay accepting inserts, updates and deletes and sending datasets back through the service. Then the system will hang up. Here is the beginning of the error message:
System.TimeoutE xception was unhandled
Message="The request channel timed out while waiting for a reply after 00:00:59.999000 0. 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."
Source="mscorli b"
StackTrace:
Server stack trace:
at System.ServiceM odel.Channels.R equestChannel.R equest(Message message, TimeSpan timeout)
at System.ServiceM odel.Channels.C lientReliableCh annelBinder`1.R equestClientRel iableChannelBin der`1.OnRequest (TRequestChanne l channel, Message message, TimeSpan timeout, MaskingMode maskingMode) .....
I've looked in the app.config and see SendTimeout value = "00:01:00" (1 minute), and I have tried a value of 10 minutes to no avail. I'm not sure how to increase the timeout value passed to the call to Request. Could someone point me the right direction there.
In any case we are dealing small amounts of data, single record inserts, updates and deletes, returning small datasets, and so I shouldn't be bumping up against any default limits. I did increase the maxReceivedMess ageSize as suggested in a video tutorial.
Also, I'm not sure the best way to trap and throw the exception.
Thanks
System.TimeoutE xception was unhandled
Message="The request channel timed out while waiting for a reply after 00:00:59.999000 0. 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."
Source="mscorli b"
StackTrace:
Server stack trace:
at System.ServiceM odel.Channels.R equestChannel.R equest(Message message, TimeSpan timeout)
at System.ServiceM odel.Channels.C lientReliableCh annelBinder`1.R equestClientRel iableChannelBin der`1.OnRequest (TRequestChanne l channel, Message message, TimeSpan timeout, MaskingMode maskingMode) .....
I've looked in the app.config and see SendTimeout value = "00:01:00" (1 minute), and I have tried a value of 10 minutes to no avail. I'm not sure how to increase the timeout value passed to the call to Request. Could someone point me the right direction there.
In any case we are dealing small amounts of data, single record inserts, updates and deletes, returning small datasets, and so I shouldn't be bumping up against any default limits. I did increase the maxReceivedMess ageSize as suggested in a video tutorial.
Also, I'm not sure the best way to trap and throw the exception.
Thanks
Comment