TDM Portal Upgrade Errors (3.8 to 4.0)

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

While trying to upgrade the TDM web portal from 3.8 to 4.0, I am running into these issues:

- upgrade hanging 

- ports in use errors 

- uninstall of portal failing 


The first error in the TDM portal log file is: 

MSI (s) (50:38) [17:33:26:173]: SECREPAIR: Failed to open the file:C:\Users\demo\AppData\Roaming\CA\CA Test Data Manager Portal\install\ for computing its hash. Error:2

TDM Portal 3.8 upgrading to 4.0

These issues during TDM portal upgrade can be caused because there are remnants of the older code (services, files/folders, etc.) that have not been overwritten or replaced by the new files during the upgrade.


Follow these steps to resolve the issues with the upgrade process. You need to have Administrator privileges on the system to perform these steps.

1. Reboot the machine where TDM Portal has been installed.

2. Delete the remnant services manually:

To delete remnant services, at the Windows Command prompt type: SC DELETE <servicename> 

3. Delete the CA TDM Portal folder (default location is "C:\Program Files\CA\CA Test Data Manager Portal").

4. Run the TDM portal 4.0 setup again.

Additional Information:

If you face any issues following these steps, please open a support ticket through or by calling CA Customer Care using one of the numbers listed on this page: