Error: The Class configured to run as a security ID different from the caller

Posted on 2003-03-05
Medium Priority
Last Modified: 2007-12-19

I am trying to debug a VB DLL and have come across this strange message when trying to run the DLL in debug mode:

System Error 8H80004015(-214767243) The Class is configured to run as a security ID different from the caller

I've done a search on Google and all I can find is lots of stuff about DCOM - it's not a DCOM object, just a plain vanilla DLL.

The confusing part is that the DLL will compile fine on my Windows XP machine, and even on Windows 2KPro, but I am having trouble with it on 2K Server (hence me debugging it)

Thanks in advance for anyone who can shed light on this!
Question by:Aikidoka_AMD
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 28

Accepted Solution

AzraSound earned 300 total points
ID: 8073156
Usually this is due to the fact that the DLL is inside of a COM+ package which is told to run under different user credentials than the one you are logged in as for debugging.

If this is not the case, what security settings, if any, are placed on the DLL file itself (or its folder location)?

Author Comment

ID: 8073237

It was one of those "kick yourself" moments! I had inadvertantly installed the DLL into the COM+ object that the DLL was trying to shut down!

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question