Windows reports error 0x80040002 as: Can't enumerate any more, because the associated data is missing. Programmers know this error as OLE_E_ENUM_NOMORE.
This error typically occurs when trying to establish an initial connection with OPC (DCOM) 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 registered on target computer. In other words, this problem occurs on the same computer as the server (not client) application.
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. In both cases, features are not registered on the computer running the target OPC server (or OpcEnum).
To automatically repair error 0x80040002, which occurs during browsing (i.e. using OpcEnum), 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.
If this problem occurs when connecting to OPC servers, reinstall said server.
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.