Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetObject once more
Message
From
25/11/2005 12:29:57
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01071961
Message ID:
01072107
Views:
34
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform