I am working on a program using CSLA 3.7 that occasonally throws an error regarding a faulted WCF endpoint. The error follows:
"This request operation sent to net.tcp://dt01:8500/LtsHostService did not receive a reply within the configured timeout (00:01:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client."
It occurs when a long running Sql Query fails to complete in 60 seconds, the operationtimeout parameter noted in the error. I have not been able to find a way to configure WCF to lengthen the timeout and unfortunately in this application sometimes more than 60 seconds is required to retreive the data.
Has anyone dealt with this particular error and found a solution? Any help would be appreciated!
There are some settings that can be putting into the app.config to do with the timeout settings for the WCF connection.
The settings you are looking for should be able to be found at this post.
The other possible thing to look at is the timeout on the actual SQL statement itself, trying to debug when using WCF can be really frustrating I've found as it doesn't report the best error messages all the time. Though if this was the case you would expect an error when not using WCF as well.
Copyright (c) Marimer LLC