How to Solve Win10 0x8007007E Error (OPC Component)

During the development of OPC client in Win10, the following missing component exception occurs when reading the device.
Message=Fail to retrieve the component with CLSID {28E68F9A-8D75-11D1-8DC3-3C302A000000} in COM class factory because of the following error: 8007007e The specified module could not be found. (Exception from HRESULT:0x8007007E).

Solution:

1. Copy the OPCDAAuto.dll file to the C:\Windows\SysWOW64 directory.
2. Press ” WIN + R ” to enter the CMD command line.
3, type: regsvr32 C:\Windows\SysWOW64\OPCDAAuto.dll, enter.
4, after successful registration, set in the configuration manager for the X86 platform (can not run under 64-bit)
5, regenerate the project solution, it can run normally.

Read More: