In the distributed system manager (DSM) I can see that the local OPC1/NI OPC Client Status is Active=true, Connected=false.
When I enable diagnostics I get HRESULT=0x80070005 Access is denied.
| |-GetCLSID: ProgID=National Instruments.NIOPCServers.V5, Machine="", CLSID=0-0-0-00-000000 (FAILED, HRESULT=0x80070005 Access is denied. )
I have been playing with the settings for both Component Services/DCOM and Services/NI OPC server & NI OPC server AE. People say that I should "run as interatice user". That is now available, greyed out for some reason. I suceeded to set a named local user for both Component/DCOM and Services/NI OPC, but no improvement. Also a working setup on another PC has both users as system=default.
Any ideas?
Earlier post: OPC server 2012 cannot connect to Labview 2012 most of the times?
https://forums.ni.com/t5/LabVIEW/OPC-server-2012-cannot-connect-to-Labview-2012-most-of-the-times/m-p/3750828
Diagostics from NI OPC server
OPC I/O Server Diagnostic Information
02/06/2018 11:35:19,617 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:22,268 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:24,947 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:27,618 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:29,697 | [Connection] SetGroupState (SUCCEEDED) |
02/06/2018 11:35:29,697 | [Connection] Reconnect: (SUCCEEDED) |
02/06/2018 11:35:29,697 | |-[Connection] Disconnect: (SUCCEEDED) |
02/06/2018 11:35:29,697 | |-[Connection] Connect: (SUCCEEDED) |
02/06/2018 11:35:29,697 | | |-GetCLSID: ProgID=National Instruments.NIOPCServers.V5, Machine="", CLSID=0-0-0-00-000000 (FAILED, HRESULT=0x80070005 Access is denied. ) |
02/06/2018 11:35:29,708 | | |-GetCLSID: ProgID=National Instruments.NIOPCServers.V5, Machine="", CLSID=0-0-0-00-000000 (FAILED, HRESULT=0x80070005 Access is denied. ) |
02/06/2018 11:35:30,268 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:32,637 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:34,968 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:36,907 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:37,637 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:40,287 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:42,967 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:45,628 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:48,287 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:50,957 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:53,627 | [Browse] Browse: (SUCCEEDED) |
02/06/2018 11:35:55,387 | [ReleaseAll]: (SUCCEEDED) |
02/06/2018 11:35:55,387 | |-[Connection] Disconnect: (SUCCEEDED) |
02/06/2018 11:35:55,387 | [Connection] Disconnect: (SUCCEEDED) |