系统错误 &H80004015 (-2147467243).该类被配置为作为不同于调用者的安全 ID 运行 [英] System Error &H80004015 (-2147467243). The class is configured to run as a security id different from the caller

查看:16
本文介绍了系统错误 &H80004015 (-2147467243).该类被配置为作为不同于调用者的安全 ID 运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试使用 Visual Studio 6.0 调试 VB dll 时,出现以下错误.谁能告诉我需要为此做些什么?

When try to debug the VB dll Using Visual Studio 6.0 , I am getting the the following error. Can you any one tell me what needs to be done for this?

系统错误 &H80004015 (-2147467243).该类被配置为作为与调用者不同的安全 ID

System Error &H80004015 (-2147467243). The class is configured to run as a security id different from the caller

推荐答案

我遇到了同样的问题.
创建了一些 ActiveX DLL 并将二进制文件放入 COM+ 应用程序中,该应用程序在特定帐户(不是我的)下运行.然后我使用 Server.CreateObject() 在 ASP 脚本页面中使用这些组件.如果我将源代码加载到 VB 中进行调试并尝试运行它(从完全编译开始"),我会收到此错误消息.造成这种情况的原因是在 COM+ 应用程序中注册的帐户与我尝试运行的帐户不同.这种特殊情况的解决方案是关闭 COM+ 应用程序并删除组件.完成调试后,编译这组 DLL 并将它们放回 COM+ 应用程序.

I have had the same problem.
Created a few ActiveX DLLs and put the binaries into a COM+ Application, which runs under a specific account (not mine). Then I use these components inside ASP script pages using Server.CreateObject(). If I load the source code into VB for debugging and try to run it ("Start with Full Compile") I get this error message. The cause of this is that the account registered in the COM+ Application differs from my own account from which I try to run. Solution for this particular case is to Shutdown the COM+ Application and remove the components. When finished debugging, compile the set of DLLs and put them back to the COM+ application.

希望有人对此有所帮助:-)

Hope someone is helped by this :-)

这篇关于系统错误 &H80004015 (-2147467243).该类被配置为作为不同于调用者的安全 ID 运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆