Ask our Experts
Didn't find what you are looking for? Ask our experts!
New Community Ranking System
Our Community ranking system has recently been updated. You may notice changes in user rankings and receive system messages or notifications. If you have questions about how the new ranking works, please refer to the announcement post for more details (click here).
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Search in
Please select a country to continue with beta search.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2026-08-20 06:45 AM
Hello,
I am having an issue with using the OPC Advanced Driver and Kepware KepServer.
The configuration is as follows:
GeoSCADA and Kepware are both installed on the same PC running Windows 11 LTSC 2024.
When I set up the Kepware OPC Server using the 'OPC - Simple Server' driver, this works correctly and with the connection mode set to "In Process".
However, I would prefer to use the OPC Advanced driver as there are some features in advanced that I require. When I set up a new OPC Advanced server with the connection mode set to "In Process", it does not work.
The only workaround I have been able to use to get the OPC Advanced driver to work in this setup is to change the Connection Mode to "Local Server", use the local windows username and password as credentials and this works correctly.
I would prefer to use an "In Process" connection rather than the local account credentials for security reasons. Is it possible to use Kepware with the OPC Advanced driver with the connection mode set to "In Process"?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2026-08-25 11:37 AM
"Class not registered" is a standard Microsoft COM error.
It suggests that "PTC.KepwareServer" isn't an in-process OPC DA server.
This can be confirmed by checking the registry. The following key will exist if its an in-process 32-bit server:
HKEY_CLASSES_ROOT\CLSID\{02371A38-DCF2-4A9B-A554-214AAC323E4E}\InprocServer32
The following key will exist if its a local 32-bit server:
HKEY_CLASSES_ROOT\CLSID\{02371A38-DCF2-4A9B-A554-214AAC323E4E}\LocalServer32
Under these keys are the filename of the DLL (for in-process) or EXE (for local) that implements the OPC server.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2026-08-24 10:30 AM
When it doesn't work (using in-process connection mode) what are the symptoms? What error message is shown? What does the driver log file show?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2026-08-25 01:40 AM
Hi Andrew,
When the server is set to "In Process", when I view the status of the OPC Advanced Server object, the connection state is simply stated as being "Failed".
When I look at the "Events" related to the OPC Server, I get the following message:
"Connection state - Failed (Error creating instance of OPC DA server - Class not registered) - Alarm raised".
Looking at the driver log file, I get the following log entries repeatedly when set as "In Process":
25-AUG-2026 08:35:30.380 [~ Configuration.~ Comms.OPC ADVANCED.OPC KEPWARE DIGITAL.New Server] Starting server
25-AUG-2026 08:35:30.380 [~ Configuration.~ Comms.OPC ADVANCED.OPC KEPWARE DIGITAL.New Server] CLSIDFromProgID( IN: ProgID 'PTC.KepwareServer' )
25-AUG-2026 08:35:30.380 [~ Configuration.~ Comms.OPC ADVANCED.OPC KEPWARE DIGITAL.New Server] CLSIDFromProgID( OUT: ClassId {02371A38-DCF2-4A9B-A554-214AAC323E4E} )
25-AUG-2026 08:35:30.380 [~ Configuration.~ Comms.OPC ADVANCED.OPC KEPWARE DIGITAL.New Server] CoCreateInstanceEx( IN: CLSCTX_INPROC_SERVER )
25-AUG-2026 08:35:30.380 [~ Configuration.~ Comms.OPC ADVANCED.OPC KEPWARE DIGITAL.New Server] CoCreateInstanceEx( OUT: hr 80040154 -> Class not registered )
To confirm, the copy of Kepware is installed on the same PC as GeoSCADA, and there is only one local windows account in use.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2026-08-25 11:37 AM
"Class not registered" is a standard Microsoft COM error.
It suggests that "PTC.KepwareServer" isn't an in-process OPC DA server.
This can be confirmed by checking the registry. The following key will exist if its an in-process 32-bit server:
HKEY_CLASSES_ROOT\CLSID\{02371A38-DCF2-4A9B-A554-214AAC323E4E}\InprocServer32
The following key will exist if its a local 32-bit server:
HKEY_CLASSES_ROOT\CLSID\{02371A38-DCF2-4A9B-A554-214AAC323E4E}\LocalServer32
Under these keys are the filename of the DLL (for in-process) or EXE (for local) that implements the OPC server.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.