Ask a questionAsk a question
 

QuestionProblems with .Net remoting

  • Friday, October 30, 2009 11:45 AMLL0rd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    I use .Net Remoting for communication between client and server (both C# applications). Everything works well for me, but sometimes I got strange errors ("The Server Has Rejected The Client Credentials" or other undetailed communication errors).

    For my test I get two clients and two servers client1 was connected to server1 and client2 to server2. Once a minute the clients were sending an RPC to the servers. Both clients crashed at the same time.

    That's why I think, I have a networking problem here. But how can I solve it? I don't mean the networking problem, but the problem in my application. If the client loose the connection to the server, it just have to close the connection and reconnect. Is there any .Net-Way to fix it, or do I have to catch the exception myself and handle it?