2

I have developed an OPC DA server which runs as a windows service. When I try to connect to it OPC client it gives me 0x80070005 (Access is denied) error. However if I run the client as administrator it connects properly. This is a problem since I cannot force clients to run in admin mode. What is the solution to this problem? I tried setting DCOM properties using DCOM config but haven't succeeded.

3
  • Try defining a specific user account under which the service is running. Use the same user account that you wish to run the client.
    – Jouni Aro
    Dec 9, 2016 at 8:38
  • @JouniAro can you specify the steps?
    – Ram
    Dec 12, 2016 at 11:03
  • Open the Services application - find your service - select Properties - select Log In tab and define the user account.
    – Jouni Aro
    Dec 13, 2016 at 15:39

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.