DCOM CoCreateInstanceEx E_ACCESSDENIED

发布于 2024-08-14 04:55:37 字数 204 浏览 4 评论 0原文

我使用 2 台 PC,均运行 Windows XP。两者都使用其 DCOM 接口注册了相同的应用程序。现在我正在尝试从一台计算机在另一台计算机上启动该程序。

首先我调用了CoInitializeSecurity,然后调用了CoCreateInstanceEx,但结果是E_ACCESSDENIED。

我还运行了 dcomcnfg,以允许任何人访问,但它没有帮助。

I am working with 2 PCs, both running both running Windows XP. Both have the same application registered with its DCOM interface. Now i'm trying to start the program from one computer on the other.

First I called CoInitializeSecurity, after that CoCreateInstanceEx, but the result is a E_ACCESSDENIED.

I did also run dcomcnfg, to give anyone access, but it didn't help.

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

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

发布评论

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

评论(2

闻呓 2024-08-21 04:55:37

访问是 dcom 下的一个选择...您还需要启动和激活设置...下一步我会点击...

access is ONE choice under dcom... you also need Launch and Activation settings... I'd hit that next...

南街女流氓 2024-08-21 04:55:37

您必须显式添加用户并授予他所有权限。之后就可以了。

You have to add the user explicitly and give him all permissions. After that it works.

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