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:
- 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
- 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.
.jpg?width=688&height=682&name=OmniServer_DCOM_Access_Permissions(1).jpg)