PDA

View Full Version : Gateway exception


korda
12-05-2008, 03:03 PM
I am getting this exception message in the following function below:
"Exception has been thrown by the target of an invocation"
Unfortunately it does not tell me much about what is happening. I know I am getting it when trying to make RPC calls...

void EventCallback(IAsyncResult asr)
{
...
catch (XmlRpcFaultException xmlrpcEx)
{
...
}
catch (Exception ex)
{
temp = ex.Message.ToString(); // handle the exception
}

}

mgenti
12-05-2008, 03:17 PM
I believe that you will be able to get the exception information you are looking for by setting a breakpoint at the line you have highlighted in bold.

Off the top of my head it sounds like an RPC is coming in and we are calling one of your functions but your function is throwing an exception.