Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi,
I'm wanting to use KepServer as a way to expose an OPCDA device via OPCUA. I can connect to the device's server using Quick Client (and other clients), when its configured in KepServer I can browse and import tags but then KepServer fails to connect at the last moment. . .
Screenshot:
1) Quick Client Happily connected
2) Config in KepServer
3) Failure. . .
Any help appreciated.
Solved! Go to Solution.
Could be a couple of issues. The prog ID does not look like it's in the correct format. For instance, the Prog ID for KEPServerEX looks like this: Kepware.KEPServerEX.v6 . This may not be the only issue. You stated the Quick Client can connect directly to the server but the connection using the OPC DA Client Driver does not work. This is typically an indication that the Microsoft DCOM parameters have not been adjusted with the appropriate permissions. The Quick Client works because it is merely a test client and does not abide by DCOM restrictions. Here is a link to the Kepware knowledge base article that covers DCOM:
If the adjustment of the DCOM settings does not resolve the issue, I recommend opening a support ticket with the Kepware team for additional assistance. Here is a link to the login page where a support ticket can be opened:
Thanks,
*Chris
Could be a couple of issues. The prog ID does not look like it's in the correct format. For instance, the Prog ID for KEPServerEX looks like this: Kepware.KEPServerEX.v6 . This may not be the only issue. You stated the Quick Client can connect directly to the server but the connection using the OPC DA Client Driver does not work. This is typically an indication that the Microsoft DCOM parameters have not been adjusted with the appropriate permissions. The Quick Client works because it is merely a test client and does not abide by DCOM restrictions. Here is a link to the Kepware knowledge base article that covers DCOM:
If the adjustment of the DCOM settings does not resolve the issue, I recommend opening a support ticket with the Kepware team for additional assistance. Here is a link to the login page where a support ticket can be opened:
Thanks,
*Chris
Well I learned something new, I never know I could disable DCOM on the client driver.
The ProgID is correct - its a weird one. What fixed the issue was:
Luckily this is fine in my application!
Thanks