Stephane
9/24/2004 3:07:00 PM
Hi,
I've got a server using .Net remoting. From a web administration, I control
data contained in the server but after few minutes of inactivity, i got this
error and the objects has disapear:
System.Runtime.Remoting.RemotingException: Object
</37da65f4_aed1_48a9_978e_210706ff8213/P5J_khvuRZ_5tcLN9pbJJwoY_137.rem> has
been disconnected or does not exist at the server.
Here's my configuration file:
<configuration>
<system.runtime.remoting>
<application name="LiveSnapService">
<lifetime
leaseTime = "10M"
sponsorshipTimeOut = "10M"
renewOnCallTime = "10M"
pollTime = "10S" />
<service>
<wellknown type="LiveSnapDotNet.server.MainServer, LiveSnapDotNet"
objectUri="LiveSnapDotNet.server.MainServer"
mode="Singleton" />
</service>
<channels>
<channel ref="tcp" port="8085">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
</configuration>
How can I configure it so it won't expire? Can I set values to 999999D for
example?
Thanks
Stephane