I'm trying to validate the code below for the case where the
ManagementObjectSearcher can not connect
to the specified server and get the exception

"An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll
Additional information: The RPC server is unavailable. "

When press continue my exception code executes.
My expectation is that my exception code should execute without the
additional message above?

Any idea why this is happening.

Mike Willis
for( int i=0; i<m_lb.Items .Count; i++ )
//set sServer
String scope="\\\\"+ sServer +"\\root\\cimv2";
ManagementObjectSearcher searcher = new
foreach (ManagementObject d in searcher.Get())

//do some stuff
catch ( System.Runtime.InteropServices.COMException e )
/ /report exception
//other exceptions