CoCreateInstanceEx returns "Access is Denied"
Posted on 1999-07-21
I"ve installed Msdn basic example for DCOM, simple.
and tried to run it.
when the server was on the same machine there was no problem. but when the server was on a different machine i got an error code that meant ( through format message ) "Access is Denied".
this is the calling code
hr = CoCreateInstanceEx(CLSID_SimpleObject, NULL, CLSCTX_SERVER, pcsi, 1, &mq);
psci contains only the server name and all the other entrances are Null.
i suspect it has to do something with the NT security configuration.