Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Exceptions in OnRemoteProcedureProgress
Wed, Aug 30 2006 12:44 AMPermanent Link

Oliver Bock
I have some very odd things happening in my program if an exception
occurs in OnRemoteProcedureProgress.  That is, the situation is:

 1. client calls a remote procedure
 2. server calls SendProcedureProgress
 3. client receives OnRemoteProcedureProgress.

My guess is that the exception is not being caught and is being handled
entirely within the client process, without telling the server what is
going on.  Thus the client unwinds its stack, but leaves the server
halfway through an operation.

Is this right?  How should I deal with exceptions in this situation?  My
current fix is just to eat them, as this is better than the weirdness.


  Oliver
Wed, Aug 30 2006 4:49 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Oliver,

<< I have some very odd things happening in my program if an exception
occurs in OnRemoteProcedureProgress.  That is, the situation is:

 1. client calls a remote procedure
 2. server calls SendProcedureProgress
 3. client receives OnRemoteProcedureProgress.

My guess is that the exception is not being caught and is being handled
entirely within the client process, without telling the server what is going
on.  Thus the client unwinds its stack, but leaves the server halfway
through an operation. >>

Yes, but the server will time out and return an abort once the connection
timeout time has elapsed on the server.  The connection timeout time
(defined in the server configuration) is how long the server waits on any
response from the client before it returns an abort.  So, if your procedure
is set up properly to handle an Abort=True parameter coming back from the
SendProcedureProgress method, then everything will sort itself out
eventually.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image