Self-Solve Knowledge Search

Minimize Maximize
Error - Component registration failed for: HP.ST.Ext.STRemoteAgent.dll
This document has not been formally reviewed for accuracy and is provided as is
Title :
Error - Component registration failed for: HP.ST.Ext.STRemoteAgent.dll
Document ID :
KM01778532
Product - Version:
quality center ; unified functional testing ;
OS :
Updated :
Tue Aug 11 04:14:04 GMT 2015
Summary :
Error - Component registration failed for: HP.ST.Ext.STRemoteAgent.dll
Problem

When API scripts are run from ALM, error: "Cannot activate the Remote Execution Server. Make sure the server is running and the Remote Agent is registered" is received,  but able to run the API script directly from UFT. Also, GUI scripts run fine from ALM.

Cause
This issue occurs because the dll that’s required for remote agent of API script is not registered.
(while installing UFT 12, "Component registration failed for: HP.ST.Ext.STRemoteAgent.dll" Error may be received, it can be skipped and UFT can be installed.)
Fix
Register the DLL manually by following the steps below:
 
1. Please check if “HP.ST.Ext.STRemoteAgent.dll” exists under “C:\Program Files (x86)\HP\Unified Functional Testing\bin\” If the DLL doesn’t exist under the path, do NOT go to the next step. It means the installation is not properly completed. UFT needs to be reinstalled.
2. Close all windows.
3. Please open the command window as an administrator. (Refer to http://technet.microsoft.com/en-us/library/cc947813(v=ws.10).aspx)
4. Type below and enter. cd "C:\Windows\Microsoft.NET\Framework\v4.0.30319"
5. Type below and enter. RegAsm.exe /codebase "C:\Program Files (x86)\HP\Unified Functional Testing\bin\HP.ST.Ext.STRemoteAgent.dll"
 
Note - This is UFT related issue but since remote agent dll for API scripts are not registered, the issue is seen in ALM.