.NET REMOTING C# 出现错误

发布于 2024-08-07 20:13:27 字数 152 浏览 1 评论 0原文

这是我收到的错误。我有一个简单的 .Net Remoting 设置。连接闲置几分钟后会出现此错误。

对象“/7966b546_734e_410d_817a_a0e701f114f6/lfxehvbcznjzkycgbimraglb_1.rem”已断开连接或在服务器上不存在。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

很快妥协 2024-08-14 20:13:27

您可能会遇到超时。您可以使用本机接口设置超时,也可以覆盖 virtual object InitializeLifetimeService()

如果不是超时问题,可能是你服务端出错了。尝试将调试器附加到服务器组件并使用断点和单步执行,尤其是。在构造函数中。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文