DCOM: CoCreateInstanceEx returns E_ACCESSDENIED

Posted by MOE37x3 on Stack Overflow See other posts from Stack Overflow or by MOE37x3
Published on 2008-08-21T19:13:00Z Indexed on 2010/05/18 7:40 UTC
Read the original article Hit count: 635

Filed under:
|
|

I'm working on a DCOM application with the server and client on two machines, both of which are running WinXP with Service Pack 2. On both machines, I'm logged in with the same username and password.

When the client on one machine calls CoCreateInstanceEx, asking the other machine to start up the server application, it returns E_ACCESSDENIED.

I tried going into the server app's component properties in dcomcnfg and giving full permisions to everyone for everything, but that didn't help.

What do I need to do to allow this call to succeed?

Update: When the server app is running on a Windows 2000 box, I do not get this error; CoCreateInstanceEx returns S_OK.

© Stack Overflow or respective owner

Related posts about security

Related posts about windows-xp