Delphi DataSnap SocketServer“无法创建密钥 211”
如果我尝试终止 Delphi 2009 的 Borland SocketServer 应用程序,则会出现上述消息。
应用程序窗口保持打开状态,我只能在任务管理器中终止该应用程序。
操作系统是Windows 2000 Professional SP4
Delphi 2007版本的scktsrvr也会出现同样的错误
If I try to terminate the Borland SocketServer application for Delphi 2009 the message above appears.
The application window remains open and I can only terminate the application in the task manager.
Operating system is Windows 2000 Professional SP4
The same error also occurs with the Delphi 2007 version of scktsrvr
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
将套接字服务器作为服务运行,并向服务用户需要设置的注册表项添加适当的权限。请记住,用于运行 SocketServer 的用户非常很重要。服务器充当代理,并依次调用实现远程服务器的 DCOM 服务器。除非更改,否则连接进程的用户将用于 DCOM 安全,因此您必须确保使用正确的用户,否则可能会导致大漏洞。
Run the socketserver as a service, and add the proper permission to the registry key the service user needs to set. Remember that the user you use to run the SocketServer is important. The server acts like a proxy, and in turn call the DCOM server that implements the remote server. Unless changed, the user of the connecting process is used for DCOM security, thereby you have to ensure the right user is used, or you may lead to big vulnerabilities.
scktsrvr 尝试将其设置存储在
HKEY_LOCAL_MACHINE\SOFTWARE\Borland\Socket Server
注册表项下,这在受限用户帐户下可能会失败。尝试以管理员身份运行它,或作为服务运行。编辑:例如,您还可以修改它以使用
HKEY_CURRENT_USER
。它带有源代码。scktsrvr attempts to store its settings under
HKEY_LOCAL_MACHINE\SOFTWARE\Borland\Socket Server
registry key which probably fails under a limited user account. Try running it as administrator, or as a service.Edit: you can also modify it to use
HKEY_CURRENT_USER
, for example. It comes with source code.