Windows reports error 0x80040155 as: Interface not registered. Programmers know this error as REGDB_E_IIDNOTREG.
This error typically occurs when trying to connect to remote applications. During this error condition, DCOM was able to find the required (server) application on the target computer. However, this application uses interfaces (i.e. features) not locally registered.
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 0x80040155, 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 (not recommended), use RegSvr32.exe (included with Windows) to register specific OPC DLLs. OPC applications will begin working when you register these DLLs properly because DCOM will be able to find the interfaces.
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.