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

Getting Error: Unable to Connect to Runtime Program

When I open the server, it tries to open the polling program and fails to connect with the error that it cannot access the polling program. This first started happening when I set it up as a Service.

The problem you are seeing in OmniServer is one of two things:

  1. One of the services that OmniServer is dependent on as a service is not running (Error 1068: The dependency service or group failed to start.)
    • If you are receiving this error and you have OmniServer configured to run as a service, you can view the proper procedure for ensuring that the necessary dependencies are running in order for OmniServer to function as a service at the following link: Using OmniServer as a Service
    • If you have have NetDDE disabled or are running Windows XP and recently updated to Service Pack 3, please reference the following knowledge base answer: Click Here
  2. DCOM Security settings are incorrect and access to the polling program is being denied. (Error Message indicates "Access Denied")
    • We took the approach not to set any security levels for the customer when running OmniServer as a service. We leave it up to the customer to set the correct security levels. The Software Toolbox web site has a section devoted exclusively to setting up security for your machines and OPC servers. You can view that documentation here: Setting DCOM Security
    • Specifically, you will need to add the "Everyone" user to the DCOM Access Permissions for OmniServer.
      245 - OmniServerDCOMAccessPermissions