Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Error with .NET REMOTING C#

Here is the error I'm getting. I have a simple .Net Remoting setup. This error comes up after a few minutes of the connection being idle.

Object '/7966b546_734e_410d_817a_a0e701f114f6/lfxehvbcznjzkycgbimraglb_1.rem' has been disconnected or does not exist at the server.

like image 234
Mikael Avatar asked Oct 13 '09 17:10

Mikael


1 Answers

You may have a timeout. You can use the native interfaces to set timeout or you can override virtual object InitializeLifetimeService()

If it's not a timeout issue, it may be that you had an error on the server-side. Try attaching your debugger to your server component and play with breakpoints and stepping, esp. in the constructor.

like image 174
Dinah Avatar answered Oct 23 '22 05:10

Dinah