Skip to content
  • There are no suggestions because the search field is empty.

OPC DA Clients are unable to connect to local Cogent DataHub OPC Server

If going through the DCOM Tutorial did not resolve this issue, then there are likely restrictions placed on the local user account.

When I attempt to make a local OPC DA connection from any OPC Client to the Cogent DataHub's OPC DA Server Interface, I am met with the following error:
Cogent.DataHub.1 caused COM/OPC error 0x80010105 on IOPCServer.AddGroup(). The server threw an exception.
Even though this is a local connection, I still went through the DCOM Tutorial to ensure that the COM Permissions were configured appropriately, but this did not make any difference. OPCEnum is running and my OPC Client connects successfully to other OPC Servers on this machine. Running the DataHub and my OPC Client as administrator did not fix the issue either.
 
Assuming this is the case, the DataHub Configuration must target an administrator user account. Follow these procedures:
  1. Go to C:\Users
  2. Here you will see your local user account, an administrator account, and likely several others.
  3. For the sake of these instructions, the local user account will be called LocalUser and the admin account will be called Administrator.
  4. Use a Windows File Explorer to browse to C:\Users\LocalUser\AppData\Roaming\Cogent DataHub
  5. Copy all the contents of this directory and place them in C:\Users\Administrator\AppData\Roaming\Cogent DataHub
  6. If DataHub is running as an Application, follow the instructions listed in FAQ #3659 to force DataHub to load the configuration files from C:\Users\Administrator\AppData\Roaming\Cogent DataHub
  7. If DataHub is running as a Service, continue to Step 8.
  8. Run the ServiceManager.exe from the Start Menu or from C:\Program Files (x86)\Cogent\Cogent DataHub (C:\Program Files\Cogent\Cogent DataHub if using the 64-bit DataHub).
  9. In the Service Manager, set the Configuration Folder to C:\Users\Administrator\AppData\Roaming\Cogent DataHub, Install/Update Service, and Start the Service if necessary.
 
OPC DA Clients should now be able to connect to the local DataHub OPC DA Server interface. If this does not resolve the issue, or if you have any questions, please email support@softwaretoolbox.com or submit a support ticket.