Windows reports error 0x80040154 as: Class not registered. Programmers know this error as REGDB_E_CLASSNOTREG.
This error typically occurs when trying to establish an initial connection with OPC (or DCOM) applications. During this error condition, DCOM was not able to find the required (server) application on the target computer. This is not caused by DCOM permission problems.
For example, this could be caused when trying to browse computers (using OpcEnum), or connecting to OPC servers. This could happen when connecting either locally or to remote applications.
To automatically repair error 0x80040154, download OPC Expert (www.OpcExpert.com), and run it on affected computers. OPC Expert will provide full repair instructions. OPC Expert also enables users to view OPC server data, connect OPC to Excel, trend values, and more.
To solve this problem manually reinstall your server application, or if this problem occurs during browsing, reinstall OpcEnum.
In addition, consider OPCTI's training classes (physical and online) at http://www.opcti.com/Training-Schedule.aspx
If you are unable to find the right answer for your situation, please contact us and we will help you make the connection.