-->

ALM C#应用程序(ALM C# application)

2019-10-28 12:16发布

我使用Interop.TDAPIOLELib DLL连接到ALM(应用程序生命周期同治)。

为了连接到我使用的项目TDConnection但在执行这条线时,

 _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

我运行sfc/scannow ,我得到这个消息, Windows Resource Protection did not find any integrity violations 。 这表明,我没有任何丢失或损坏的系统文件。

有什么建议么?

Answer 1:

OTAClient.dll应该用注册regsvr32.exe注册OTAClient.dll它位于此路径C:\Program Files (x86)\Common Files\Mercury Interactive\TDAPIClient并确保应用程序的x86目标下运行。



Answer 2:

这是necesary下载TDConnect.exe

  1. 转到您的HP ALM Web界面
  2. “工具”链接
  3. “HP ALM连接”链接
  4. 点击“下载HP ALM连接”

它会下载TDConnect.exe文件,你需要做的这trhu您的实例的TDConnect.exe与您的版本匹配,例如,如果您正在运行HP ALM 11.52你必须下载TDConnect.exe此版本。



Answer 3:

尽管这是一个老问题,但对于分享我工作-该解决方案在这里提到的- http://www.juvander.fi/site/Forums/tabid/129/forumid/2/threadid/14/scope/posts/Default的.aspx

可以帮助别人,如果没有别的作品



文章来源: ALM C# application