DCOM "Access is denied"

  • Thread starter Thread starter zhangyuewuliu
  • Start date Start date
Z

zhangyuewuliu

Hi, I have a DCOM Server and client running on the same box. I am using
the custom security instead of default security and have opened up the
server's custom access right to basically everyone.

The default access permission does not allow anyone, however it should
not matter because my server is not using the default settings.

However, my client cannot connect to my DCOM Server with error message
"access is denied". If I add "Everyone" into "default access
permission", then it will work.

Does anyone have the experience before? Is there anything programmally
in my code that could bypass my specified custom setting and use the
default settings? Thanks.
 
Hi, I have a DCOM Server and client running on the same box. I am using
the custom security instead of default security and have opened up the
server's custom access right to basically everyone.

The default access permission does not allow anyone, however it should
not matter because my server is not using the default settings.

However, my client cannot connect to my DCOM Server with error message
"access is denied". If I add "Everyone" into "default access
permission", then it will work.

Does anyone have the experience before? Is there anything programmally
in my code that could bypass my specified custom setting and use the
default settings? Thanks.

Question who is the client? by default "Administrators", "SYSTEM" and
"Interactive users" have launch and activation permissions, the default
access is granted for SELF and SYSTEM. That means if the client is the
"Interactive user and the 'identity' of the server is set to "launching
user" (the default), automatically the client can launch and access the COM
server.

Willy.
 
Back
Top