I am using Interop.TDAPIOLELib
dll to connect to ALM (application lifecycle managment).
In order to connect to the project i am using TDConnection
but when executing this line
_connection = new TDAPIOLELib.TDConnection();
i get this exception
Retrieving the COM class factory for component with CLSID {C5CBD7B2-490C-45F5-8C40-B8C3D108E6D7} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
This code was working fine before i repaired my HD
I run sfc/scannow
and i got this message Windows Resource Protection did not find any integrity violations
. Which indicate that i do not have any missing or corrupted system files.
any suggestions?
OTAClient.dll
should be registered
using regsvr32.exe
register the OTAClient.dll
it located in this path C:\Program Files (x86)\Common Files\Mercury Interactive\TDAPIClient
and make sure that the application is run under x86 target.