ClearSCADA

Example of error as seen in the OPC driver log

 06-NOV-2007 22:12:18.771 02A8 [SVR] 11474 EnbOPCServers.Henderson AES Server Connect
                          02A8 [SVR] 11474 EnbOPCServers.Henderson AES Server 	CLSIDFromProgID( Class 'AutoSol.AES.1' )
                          153C [SVR] 21878 EnbOPCServers.Houscadaaes02 AES Server SetFailReason: CLSIDFromProgID returns 800401F3 -> Unknown Error 0x800401f3
                          02A8 [SVR] 11474 EnbOPCServers.Henderson AES Server SetFailReason: CLSIDFromProgID returns 800401F3 -> Unknown Error 0x800401f3
                          06F4 [SVR] 5149 EnbOPCServers.Houston GE Server 	CoCreateInstanceEx( CLSCTX_REMOTE_SERVER )
                          06F4 [SVR] 5149 EnbOPCServers.Houston GE Server 	ClassId: {7CF1E5F2-7CDC-44B9-B651-C96427CC459B}
                          06F4 [SVR] 5149 EnbOPCServers.Houston GE Server 	RemoteNode: houcoapoll01
                          0E9C [SVR] 76461 EnbOPCServers.Houscadaaes06 AES Server SetFailReason: CLSIDFromProgID returns 800401F3 -> Unknown Error 0x800401f3
                          00BC [SVR] 21879 EnbOPCServers.Houcoapoll01 AES Server 	CLSIDFromProgID( Class 'AutoSol.AES.1' )
                          00BC [SVR] 21879 EnbOPCServers.Houcoapoll01 AES Server SetFailReason: CLSIDFromProgID returns 800401F3 -> Unknown Error 0x800401f3
 06-NOV-2007 22:12:18.787 1190 [SVR] 80043 EnbOPCServers.Houscadaaes04 AES Server Connect
                          1190 [SVR] 80043 EnbOPCServers.Houscadaaes04 AES Server 	CLSIDFromProgID( Class 'AutoSol.AES.1' )
 06-NOV-2007 22:12:18.787 1188 [SVR] 77934 EnbOPCServers.Houscadaaes03 AES Server Connect
                          1188 [SVR] 77934 EnbOPCServers.Houscadaaes03 AES Server 	CLSIDFromProgID( Class 'AutoSol.AES.1' )
                          1190 [SVR] 80043 EnbOPCServers.Houscadaaes04 AES Server SetFailReason: CLSIDFromProgID returns 800401F3 -> Unknown Error 0x800401f3
                          1188 [SVR] 77934 EnbOPCServers.Houscadaaes03 AES Server SetFailReason: CLSIDFromProgID returns 800401F3 -> Unknown Error 0x800401f3
                          1734 [SVR] 5150 EnbOPCServers.Local GE Server Next scan due at time: 06-NOV-2007 22:12:22.202
                          06F4 [SVR] 5149 EnbOPCServers.Houston GE Server SetFailReason: CoCreateInstanceEx returns 800706BA -> The RPC server is unavailable.
                          1734 [SVR] 5150 EnbOPCServers.Local GE Server Next scan due at time: 06-NOV-2007 22:12:24.202
                          1734 [SVR] 5150 EnbOPCServers.Local GE Server Next scan due at time: 06-NOV-2007 22:12:26.202
                          1734 [SVR] 5150 EnbOPCServers.Local GE Server Next scan due at time: 06-NOV-2007 22:12:55.659
                          1734 [SVR] 5150 EnbOPCServers.Local GE Server Next scan due at time: 06-NOV-2007 22:12:55.680
                          1734 [SVR] 5150 EnbOPCServers.Local GE Server Next scan due at time: 06-NOV-2007 22:12:55.694

The function CLSIDFromProgID is returning Error 0x800401f3 when trying to determine the CLSID in the registry, given a ProgID (the OPC Server Name). This error means Invalid Class String. In other words, the OPC Server (in this case "AutoSol.AES.1") has not registered correctly in the registry on the PC running the OPC client driver (DriverOPC).

The easiest way to register the remote OPC server on the OPC client (i.e. the ClearSCADA server) is to install the OPC server software on the OPC client machine and to then disable the service.