Question

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.

Was it helpful?

Solution 2

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

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top