Calling some assemblies from a winforms client via remoting. We have
defined some custom exceptions that inherit from ApplicationException.
The exceptions have the [Serializable] attribute, the constructor with the
SerializationInfo and Context, and the override for GetObjectData.
Right now, for testing, the remoting host process is just a console
application with a ReadLine() to keep it going.
If I make the remoting call on the same machine that the host is running
on, I works fine. But, if the client is on a separate physical machine
(both off the same switch - so to firewall or anything like that), I get
the following exception:
Server encountered an internal error. For more information, turn on
customErrors in the server's .config file." }
[System.Runtime.Remoting.RemotingException]:
{System.Runtime.Remoting.RemotingException}
When I step through the code (also have debug statements), in the first
scenario with everything on the same machine, I see the GetObjectData
method called. In the second scenario, it is NOT!!!!!
Any suggestions????? Thanks.
Matt Brown
[EMAIL PROTECTED]