Error in .net remoting!!
-
I am developing server and client application using .net remoting in c#. When I run both client and server applications from the same machine, things work fine. But when I host the server on a different machine, exceptions dont get thrown across, rather I get the remoting error with the message "Server has encountered an internal error,for more information turn off custom Errors in servser's.config file". I'm using .NET Framework 1.1. on both server and client. The server is hosted in a windows service. I've read that this can be avoided by setting "off" in the server configuration file. But I am not using config file to configure my windows service.As I configure it programmatically.Can any body tell me how to avoid this error and what is the reason of this?? Thanks Sam
-
I am developing server and client application using .net remoting in c#. When I run both client and server applications from the same machine, things work fine. But when I host the server on a different machine, exceptions dont get thrown across, rather I get the remoting error with the message "Server has encountered an internal error,for more information turn off custom Errors in servser's.config file". I'm using .NET Framework 1.1. on both server and client. The server is hosted in a windows service. I've read that this can be avoided by setting "off" in the server configuration file. But I am not using config file to configure my windows service.As I configure it programmatically.Can any body tell me how to avoid this error and what is the reason of this?? Thanks Sam
samtam wrote:
"Server has encountered an internal error".
It's an internal error, it could be anything:rolleyes:. Add a config file and set custome errors off like it says to get more information:sigh:
only two letters away from being an asset