HP ALM - Installing Connector and OTAClient DLLs on Win 7

Document ID : KB000057594
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue

Need to download and install needed DLLs for QC connector.

Resolution

?
  1. You'll need to connect to:

http://vmwin2008qc11.f4tech.com:8080/qcbin/start_a.jsp

?

From IE9 in order to download and install the Mercury Interactive DLL's.

?
  1. However, there's a specific way you must do this.

  2. Add the HP ALM site as a trusted Site in IE.

  3. Tools -> Internet Options

?



?
  1. Click Security Tab, then Trusted Sites:

?



?
  1. Paste in the URL for the QC server and click Add:

?




?
  1. Your Trusted Sites list should now include the QC server:

?



?
  1. Start IE9 in 32-bit mode, as Administrator

?



?
  1. Accept the UAC warning click through:

?



?
  1. Paste QC Url into address bar and hit enter

  2. Click Install on the Browser popup at the bottom of the screen:

?



?
  1. Download and install the Microsoft Visual C++ 2005 SP1 pre-req that you may be prompted for:

?




?
  1. Once the pre-requisite has been installed, refresh the page to proceed with the QC plugins install. You should see the following progress indicator:

?



?
  1. When complete, you should see the HP ALM Login screen:

?



?
  1. It's a good idea to activate Compatibility View for this page:

?




?
  1. Check for the existence of the OTAClient library:

?

C:\Users\<username>\AppData\Local\HP\ALM-Client\<qcservername>

?



?
  1. You're done! Proceed with installation of the Connector using the Customer-facing help located here:

?

https://prod.help.rallydev.com/quality-center-installation-user-guide

?
  1. Once the connector has been installed, write a config file and test between QC and CA Agile Central. When doing so, you may see an error in the connector log similar to the following:

[2013-05-21 00:50:03 Z] ?INFO : QCConnection.connect - Connecting to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin as user markqc

[2013-05-21 00:50:03 Z] ERROR : QCConnection.rescue in connect - Could not create OLE Server "TDApiOle80.TDConnection.1"

[2013-05-21 00:50:03 Z] ERROR : QCConnection.initialize - unknown OLE server: `TDApiOle80.TDConnection.1'

???HRESULT error code:0x800401f3

?????Invalid class string

[2013-05-21 00:50:03 Z] ERROR : ConnectorRunner.exception - Message unknown OLE server: `TDApiOle80.TDConnection.1'

???HRESULT error code:0x800401f3

?????Invalid class string

[2013-05-21 00:50:03 Z] ERROR : ConnectorRunner.exception - Stack Trace

[2013-05-21 00:50:03 Z] ERROR : ConnectorRunner.block in exception - C:/Users/MARKWI~1/AppData/Local/Temp/ocrC3FA.tmp/lib/ruby/gems/1.9.1/gems/yeti-2.8.8/lib/yeti/qc_connection.rb:116:in `initialize'

[2013-05-21 00:50:03 Z] ERROR : ConnectorRunner.block in exception - C:/Users/MARKWI~1/AppData/Local/Temp/ocrC3FA.tmp/lib/ruby/gems/1.9.1/gems/yeti-2.8.8/lib/yeti/qc_connection.rb:116:in ew'

[2013-05-21 00:50:03 Z] ERROR : ConnectorRunner.block in exception - C:/Users/MARKWI~1/AppData/Local/Temp/ocrC3FA.tmp/lib/ruby/gems/1.9.1/gems/yeti-2.8.8/lib/yeti/qc_connection.rb:116:in `connect'

[2013-05-21 00:50:03 Z] ERROR : ConnectorRunner.block in exception - C:/Users/MARKWI~1/AppData/Local/Temp/ocrC3FA.tmp/lib/ruby/gems/1.9.1/gems/yeti-2.8.8/lib/yeti/connector_runner.rb:264:in `run_services'

[2013-05-21 00:50:03 Z] ERROR : ConnectorRunner.block in exception - C:/Users/MARKWI~1/AppData/Local/Temp/ocrC3FA.tmp/lib/ruby/gems/1.9.1/gems/yeti-2.8.8/lib/yeti/connector_runner.rb:162:in `block in run'

[2013-05-21 00:50:03 Z] ERROR : ConnectorRunner.block in exception - C:/Users/MARKWI~1/AppData/Local/Temp/ocrC3FA.tmp/lib/ruby/gems/1.9.1/gems/yeti-2.8.8/lib/yeti/connector_runner.rb:138:in `each'

[2013-05-21 00:50:03 Z] ERROR : ConnectorRunner.block in exception - C:/Users/MARKWI~1/AppData/Local/Temp/ocrC3FA.tmp/lib/ruby/gems/1.9.1/gems/yeti-2.8.8/lib/yeti/connector_runner.rb:138:in `run'

[2013-05-21 00:50:03 Z] ERROR : ConnectorRunner.block in exception - C:/Users/MARKWI~1/AppData/Local/Temp/ocrC3FA.tmp/src/rally2_qc_connector.rb:55:in `<main>'

[2013-05-21 00:50:03 Z] ?INFO : QCConnection.disconnect - Disconnected from Quality Center

?

If you receive this error, you may need to manually download and install the OTA Client add-in.Try downloading the client add-in. It seems that Qc11 does not download the otaclient.dll by default when you access QC.

?
  1. Go to:

?

https://vmwin2008qc11:8080/qcbin/TDConnectivity_index.html

?

?

When you click the "Download Add-In" link, it will popup a file named "TDConnect.exe" - Run this file.

?

?
  1. After it completes, you should be able to execute the QC Connector successfully:

?

[2013-05-21 00:52:40 Z] ??ANY : ConnectorRunner.block in run - processing to commence using content from QC-Simple-DefectToRally-01.xml

[2013-05-21 00:52:40 Z] ??ANY : Class.read_config_file - QC-Simple-DefectToRally-01.xml last modified 2013-05-21 00:16:01 UTC, size: 3272 chars

[2013-05-21 00:52:40 Z] ??ANY : RallyConnection.initialize - Initializing CA Agile Central connection version 2.8.8

[2013-05-21 00:52:40 Z] ?INFO : RallyConnection.initialize - CA Agile Central Web Services version 1.16

[2013-05-21 00:52:40 Z] ??ANY : QCConnection.initialize - Initializing Quality Center connection version 2.8.8

[2013-05-21 00:52:40 Z] ?INFO : Connector.initialize - Ruby platform i386-mingw32

[2013-05-21 00:52:40 Z] ?INFO : Connector.initialize - Ruby version 1.9.2

[2013-05-21 00:52:40 Z] ?INFO : QCConnection.connect - Connecting to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin as user markqc

[2013-05-21 00:52:41 Z] DEBUG : QCConnection.block in identify_qc_version - Preparing to open Registry to examine: Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32

[2013-05-21 00:52:41 Z] DEBUG : QCConnection.block in identify_qc_version - Registry Software\Classes\CLSID\{C5CBD7B2-490C-45f5-8C40-B8C3D108E6D7}\InprocServer32 opened...

[2013-05-21 00:52:41 Z] DEBUG : QCConnection.block (2 levels) in identify_qc_version - Registry path to HPQC OTAClient.dll ==> C:\PROGRA~2\COMMON~1\MERCUR~1\TDAPIC~1\OTACLI~1.DLL

[2013-05-21 00:52:41 Z] DEBUG : QCConnection.win_path_expanded - expanded Registry path to DLL target: C:/Program Files (x86)/Common Files/Mercury Interactive/TDAPIClient/OTAClient.dll

[2013-05-21 00:52:41 Z] ?INFO : QCConnection.connect - Connected to Quality Center at http://vmwin2008qc11.f4tech.com:8080/qcbin/wcomsrv.dll (version 11.0.0.5761)

[2013-05-21 00:52:42 Z] ?INFO : QCConnection.connect - ??Domain: DEFAULT

[2013-05-21 00:52:42 Z] ?INFO : QCConnection.connect - ??Project: MARKPROJ