C# 2005 COM and .NET Access Denied 0x80070005 E_ACCESSDENIED -


I am re-writing to the C ++ app in C # 2005. There are 2 components in the app: an out-of-process com server which will be started by a C ++ service, the com server uses the outgoing interface, which means that it is the event handler method from the C ++ service module on some events. Invites.

I'm rewriting the C ++ service part. Right now, Jute has developed an app that uses runtime callable caps and connection points to start com server. And provides implementation for the event handler method. When I run the app, the COM server starts well, but I get an exception when the COM server tries to call the event handle handler method.

(Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

I have searched a lot on the web and these are some of the topics that are related to my problem:

< P> Any help would be greatly appreciated.

I solved the problem by uninstalling the old version of DLL from GAC and then I was able to build DLL without E_ACCESSDENIED error.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -