locked
E_ACCESSDENIED error !!! RRS feed

  • Question

  • I need to use a COM component remotely ... 

    But when i try to use it from another machine the call fails with HRESULT of E_ACCESSDENIED ..

    I set the necessary permission under DCOMCNFG .. Still the error ...

    Please someone provide a step by step guide to set the appropriate permissions and details associated with it ......

    A link to such a sample application would be very helpful ....

    Monday, February 28, 2011 7:27 AM

All replies

  • There are a huge number of ways of configuring DCOM security settings. There is no step-by-step procedure discussing each one, since it depends on the security requirements of your particular project.

    Tell us what your DCOMCNFG settings are at the moment. Are the client and server computers in the same domain?

     

    Monday, February 28, 2011 5:04 PM
  • Yes, the client and the server components are on the same domain. The requirements is to access a COM Server component from a remote client machine, for which i allowed local and remote access to user group named Everyone, same done for launch and activation permissions (system wide settings) and the default property is to allow distributed COM on this computer. Still the error !!!!!!
    Tuesday, March 1, 2011 3:39 AM