I have a long running WCF service operation. Although I've tried setting a number of timeout properies, I still get a timeout after 10 minutes:
"The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:19:59.9290000'."
(note - the timeout occurs after exactly 10 minutes).
Service side, when I start the services I am setting the following:
ServiceHost host = new ServiceHost(typeof(SalesLedgerService));
foreach (System.ServiceModel.Description.ServiceEndpoint se in
se.Binding.ReceiveTimeout = new TimeSpan(0, 15, 0);
se.Binding.SendTimeout = new TimeSpan(0, 15, 0);
Client side, I am using the ChannelFactory and set the operation timeout as follows: