We are using command objects to communicate via .NET Remoting from a web server to an app server with numerous firewalls in between. Occasionally we receive an error "The request was aborted: The operation has timed out." The error occurs on the DataPortal.Execute call. I am not sure if the request makes it to the app server, but I do know that it does not complete the execution on the app server.
The call stack is:
Server stack trace:
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessResponseException(WebException webException, HttpWebResponse& response)
at System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Csla.Server.IDataPortalServer.Update(Object obj, DataPortalContext context)
at Csla.DataPortalClient.RemotingProxy.Update(Object obj, DataPortalContext context) in D:\Projects\csla20vb\csla20vb\cslavb\Csla\DataPortal\Client\RemotingProxy.vb:line 130
at Csla.DataPortal.Update(Object obj) in D:\Projects\csla20vb\csla20vb\cslavb\Csla\DataPortal\Client\DataPortal.vb:line 322
at Csla.DataPortal.Execute[T](T obj) in D:\Projects\csla20vb\csla20vb\cslavb\Csla\DataPortal\Client\DataPortal.vb:line 226
at EDSPay.IVR.Transaction.CalculateAccountPart1CheckDigit(String strClntAcctNbPart) in D:\Projects\EDSPaySolution\EDSPay\IVR\Transaction.vb:line 346
Is this just a case of a temporary issue with the network between the two servers and the application should re-try? This has been happening once a day around the same time, while we process thousands of requests that do not time out.
It does sound like the database transaction is taking too long. You say its happended around the same time the previous day. I'd see what other tasks are running. Any database backups going on, or table locking happening? Bit of a general answer I know, but sounds like your query is getting held up.
Copyright (c) Marimer LLC