ALM C#应用程序 [英] ALM C# application
问题描述
我正在使用Interop.TDAPIOLELib
dll连接到ALM(应用程序生命周期管理).
I am using Interop.TDAPIOLELib
dll to connect to ALM (application lifecycle managment).
为了连接到项目,我正在使用TDConnection
,但是在执行此行时
In order to connect to the project i am using TDConnection
but when executing this line
_connection = new TDAPIOLELib.TDConnection();
我得到这个例外
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)).
在修复HD之前,此代码可以正常工作
This code was working fine before i repaired my HD
我运行sfc/scannow
,并收到此消息Windows Resource Protection did not find any integrity violations
.这表明我没有任何丢失或损坏的系统文件.
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.
有什么建议吗?
推荐答案
OTAClient.dll
应该注册
使用regsvr32.exe
在该路径C:\Program Files (x86)\Common Files\Mercury Interactive\TDAPIClient
中注册它的OTAClient.dll
,并确保该应用程序在x86目标下运行.
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.
这篇关于ALM C#应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!