Hello,
I have a remoted object which throws an exception if something goes bad. eg:
throw new Exception("Something went wrong.");
When I test the assembly locally on my machine (without remoting), things
work fine.
However, once I remote the object, whenever an exception is thrown, I ALWAYS
get the same generic exception in my try/catch block:
{System.Runtime.Remoting.RemotingException}
The message is: {Server encountered an internal error. For more
information, turn on customErrors in the server's .config file"}
Any usggestions? I've tried setting CustomErrors=on/remoteOnly/off in
web.config but it doesn't change anything.
Note: I'm using HTTP/binary remoting via IIS.
Any suggestions/assistance would be greatly appreciated. Thanks!
-ZD