什么可能导致 Visual C++ 6.0 应用程序在 Windows Server 2008 中挂起?
我们有一个产品是紧急警报系统。它基于VC++ 6.0,其中我们有三个主要组件
服务器:服务器基本上是DCOM和Windows Service。 DCOM 用于与控制台(第二个组件)连接,以允许它们在服务与客户端(第三个组件)交互时发送警报。 使用名为控制台的应用程序,管理员可以连接到服务器以配置系统并发送或安排消息。然后,服务器负责近乎实时地向所有可用客户端分发警报的任务。
控制台:控制台使用 DCOM 代理与服务器连接,DCOM 代理使用 RPC 与服务器通信。它充当管理员的控制面板来配置各种服务器选项,创建用户帐户。另一方面,它用于发起警报消息。
客户端:客户端是基于 Windows 的标准应用程序。它们使用低级 TCP/IP API 与服务器连接。它们会在短时间间隔后轮询服务器,以获得最新的可用警报。
该产品在具有(Windows NT、Windows 2000、Windows Server 2003 或 Windows XP)操作系统的计算机上成功运行。但在 Windows Server 2008 中,我们面临服务器在一段时间后(1 或 2 天后)挂起并因此控制台挂起的问题,因此我们需要重新启动服务器才能正常工作。但另一方面,客户端仍与服务器保持连接。
在这方面有经验的人是否有任何建议可以帮助我们找出导致此问题的原因?
We have a product which is an emergency alerting system. It is based on VC++ 6.0, in which we have three major components
Server: Server is basically a DCOM and Windows Service. DCOM is used to connect with Console (2nd component) to allow them to send alerts while service interacts with Clients (3rd component).
Using the application called Console, administrators connect to Server in order to configure the system and to send or schedule messages. Server then takes care of the task of dispensing alerts to all available Clients in near real-time.Console: Console connects with server using DCOM proxy which uses RPC to communicate with server. It functions as control panel for the administrator to configure the various Server options, creating user accounts. On the other hand, it is used to initiate alert messages.
Client: Clients are standard Windows based applications. They connect with server using low level TCP/IP API’s. They poll server after short intervals to get the latest alert available.
The product is running successfully on the machines having (Windows NT, Windows 2000, Windows Server 2003, or Windows XP) OS. But in Windows Server 2008, we are facing problem that Server gets hang after sometime (after 1 or 2 days) and hence the Console, so we need to restart the server to work properly. But Clients on the other hand remain connected with the server.
Does anyone with experience in this area have any suggestions that might help us to figure out what's causing this issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您有源代码,为什么不将 VC6 项目升级到 VC2005 或更高版本呢?
Why not upgrade the VC6 project to VC2005 or higher, provided you have the source code?