I am a .Net developer. New for OPC. When I tried several samples of OPC Client, they all throw this error. The dll seems to not be registered. But I do not know how and where to register it.
error: retrieving the COM class factory for component with CLSID failed due to the following error: 80040154
Even i tried this
regsvr32 Interop.OPCAutomation.dll",
but also causes an error, for example
The module "Interop.OPCAutomation.dll" was loaded but the entry-point DllRegisterServeer was not found. Make sure that "Interop.OPCAutomation.dll" is a valid DLL or OCX file and then try again.
I went through many existing forums. Many of them said to change the Target platform to x86, and yet I have the same problem. FYI, I see only the "Active (any processor)" view in the "Platform" option at the top of the "Assembly" tab of the project properties.
Here are the details of my environment:
.Net 2005 OPCAutomation Weapper Windows 7 64-bit OS Dell Inspiron 1525 (I hope this is not a 64bit machine, but my engineer installed 64bit OS somehow).
Please help me.
Thanks in advance!
source share