Reply
Unable to connect to TFS as an endpoint in Hp Quality Center Synchronizer (312 Views)
Sudhir_Den
Occasional Contributor
Posts: 5
Registered: 03-22-2011
Message 1 of 2 (312 Views)

Unable to connect to TFS as an endpoint in Hp Quality Center Synchronizer

Hi,

 

I am unable to connect to TFS as an endpoint in HP Quality Center Synchronizer. When I am trying to connect I am getting the below error:

 

ERROR #1- adapter.CONNECTION_FAILURE : Failed to connect to endpoint of type TFS. Error: com.mercury.qc.gossip.exp.GossipServerException: adapter.CONNECTION_FAILURE : Failed to connect to endpoint of type TFS. Error: com.hp.qc.synchronizer.adapters.exceptions.AdapterConnectionException: Failed to connect. Reason: Unhandled exception in Connect method during creation TfsConnection object. It is possible that the TFS-Adapter.dll is not registered on the Synchronizer server machine. Error message: AutomationException: Class not registered..
ERROR #2- adapter.CONNECTION_FAILURE : Failed to connect to endpoint of type TFS. Error: com.hp.qc.synchronizer.adapters.exceptions.AdapterConnectionException: Failed to connect. Reason: Unhandled exception in Connect method during creation TfsConnection object. It is possible that the TFS-Adapter.dll is not registered on the Synchronizer server machine. Error message: AutomationException: Class not registered.
ERROR #3- Failed to connect. Reason: Unhandled exception in Connect method during creation TfsConnection object. It is possible that the TFS-Adapter.dll is not registered on the Synchronizer server machine. Error message: AutomationException: Class not registered
ERROR #4- Unhandled exception in Connect method during creation TfsConnection object. It is possible that the TFS-Adapter.dll is not registered on the Synchronizer server machine.

 

I already ran Register-TFS-Adapter.exe and it showed me the message that it has been registered.

 

Moreover, I am using HP Quality Center Synchronizer version 1.30, MQC 9.0, TFS 2010 (adapter installed)

 

Hp Quality Center Synxhronizer Server and Client are both installed on single machine with Operating System as Windows Server 2003 R2 Standard x64 Edition Service Pack 2.

 

Any help on this issue will be highly appreciated as I am stuck on this.

 

Thanks,

 

Sudhir Pathak

Please use plain text.
uglybugger
Occasional Visitor
Posts: 1
Registered: 10-17-2011
Message 2 of 2 (227 Views)

Re: Unable to connect to TFS as an endpoint in Hp Quality Center Synchronizer

Hi,

 

"Windows Server 2003 R2 Standard x64 Edition Service Pack 2" is your problem here. Register-TFS-Adapter.exe only works on 32-bit Windows - presumably because whoever wrote it was too lazy to use the correct registry keys.

 

Don't worry - you *can* make it work.

 

Register-TFS-Adapter.exe imports settings into the wrong (64-bit) registry keys. To do it correctly, manually import the assembly registration keys into the appropriate Wow6432Node registry key by running the following command from the same directory as the Register-TFS-Adapter.exe command:

 

\Windows\SysWoW64\reg.exe import TFS-Adapter.reg

 

Be sure to use the SysWoW64 version of reg.exe – do not rely on the path as there are multiple versions of it and they behave differently.

 

Best of luck :)

Please use plain text.