空闲时间后的RemotingException [英] RemotingException after Idle Time
问题描述
我使用.Net Remoting Framework将两个应用程序相互连接并传输计算结果。如果我有空闲时间,突然间我得到一个RemotingException。对不起,我目前使用的是德语版的VS,所以我只能告诉你德语错误:
"Das Objekt"/49190335_45f1_4794_bb21_f758c2aa5b49/ppx4c1eeajrbchtbkdy0i8an_1.rem"
wurde getrennt oder ist nicht auf dem Server vorhanden。"
I use the .Net Remoting Framework to connent two Applications to each other and transfer calculation Results. If I have some idle time, suddenly I get a RemotingException. Sorry, I currently use a german version of VS, so I only can tell you the german Error:
"Das Objekt "/49190335_45f1_4794_bb21_f758c2aa5b49/ppx4c1eeajrbchtbkdy0i8an_1.rem"
wurde getrennt oder ist nicht auf dem Server vorhanden."
翻译类似于:对象.....被删除或者无法在服务器上找到"。我该怎么做才能解决这个问题?
The translation is something like: The object ..... was disconected or couldn't be found on the server". What can I do to solve this problem?
推荐答案
仅限远程对象实况QUOT;他们断开之前的某个时间。我相信默认时间是5分钟。您需要保持活着的是一个称为ClientSponsor的东西,如果您需要
来保持对象"活着",它可以在到期时续订租约。
Remoted objects only "live" a certain time before they disconnect. I believe the default time is something like 5 minutes. What you need to keep it alive is something called a ClientSponsor which can renew the lease when it expires if you need to keep the object "alive" for longer periods of time.
您可以在
MSDN library 。
这篇关于空闲时间后的RemotingException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!