le_khan
7/9/2004 4:57:00 PM
Hi NG
I've got another issue in my remoting application.
I want to catch and manage the exception thrown when a client try to
access to the remote objects whereas the server is not lauched.
This exception is a 'System.Net.WebException'
The message is "The underlying connection was closed: Unable to
connect to the remote server"
I added a try-catch block around the Activator.GetObject call, but the
exception is not cought at all.
It is cought in the main entry point of the application.
But after running the command of my catch block (typically a
MessageBox,Show() ), the application closes.
Is someone able to highlight me on how to manage this kind of
exception and avoid the application to exit?
thank you
k