• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4727
  • Last Modified:

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


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!
1 Solution
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)?
Aikidoka_AMDAuthor Commented:

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now