Wikis - Page

When executing Pipelines in Azure DevOps the error "Class not registered" occurs

0 Likes

Symptoms

2019-12-09T17:50:14.4821400Z Starting test set execution
2019-12-09T17:50:14.4821643Z Test set name: TestForCreateContract, Test set id: 8092
2019-12-09T17:50:14.4822787Z Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
2019-12-09T17:50:14.4825667Z Scheduler is null
2019-12-09T17:50:14.4826195Z Could not create scheduler, please verify ALM client installation on run machine by downloading and in installing the add-in form: https://<alm_host>:<port>/qcbin/TDConnectivity_index.html

Diagnosis

The service account for the "Azure Pipelines Agent" is a non-admin account.

Solution

The UFT Azure DevOps Server extension creates a service on the host machine named "Azure Pipelines Agent".

The service account for the "Azure Pipelines Agent" service will be set to "NETWORK SERVICE" which is a non-admin account.

Add the "NETWORK SERVICE" user to the local "administrators" group on the host machine then restart the “Azure Pipelines Agent” service.

Alternatively use the Local service or an AD user who has admin credentials.

The key is to specify a service account with full admin credentials

Labels:

Support Tips/Knowledge Docs
Support Tip
Comment List
Related
Recommended