Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 2 of 2 total |
Exceptions in OnRemoteProcedureProgress |
Wed, Aug 30 2006 12:44 AM | Permanent 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 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. 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 |
This web page was last updated on Thursday, March 28, 2024 at 06:05 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |