Information générale
Catégorie:
COM/DCOM et OLE Automation
Hi,
my explanation wasn't that good i think.
"This is exactly your situation, you're passing an interface pointer (your object) to the server and then do a QueryInterface (that's the function GETINTERFACE calls under the hood)."
this means that your passing an object to the server (the object on which the server should call back later on) and then you directly call back into this object with GETINTERFACE which then fails with the E_ACCESSDENIED errorcode.
From this info one can draw the conclusion that the user account under which your DCOM object is running doesn't have sufficient rights on the client to access the object.
To change this
(1) check under which user account your DCOM object runs on the server.
(2) then on each client start DCOMCNFG & goto
(hope the terms translate since i've the german version of DCOMCNFG)
Default Security -> Default Access Permissions -> Edit Default (Button) ->
Add the useraccount from 1 and grant it access.
Regards
Christian
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement