Can't delete ReportGenerator file during upgrade TC

Originally posted by aprather on October 27, 2025

I have 2 TC licenses. Each license for each laptop. TC popped up msg for upgrading to a newer version. I was able to upgrade on one laptop but not the other. During upgrading, it tried to uninstall and start deleting some files until ReportGenerator file. It errored out with msg that it can’t delete the reportGenerator file. I have admin access on my laptop. Does anyone know is this exist bug for TC and how to solve this issue?

Originally posted by scot1967 on October 28, 2025

Hello aprather,

The most common solution is to un-install the through add-remove programs and the install a fresh copy of the new version.

https://support.smartbear.com/testcomplete/docs/general-info/installing/maintaining/index.html

If that fails then I recommend contacting support and opening a test case. This caqn be done in the Help menu of TC or via a web link…

https://support.smartbear.com/testcomplete/?messageredirect=true

or…

https://support.smartbear.com/testcomplete/docs/general-info/getting-support.html#ContactSupportTeam

… If you find my posts helpful drop me a like! :+1: Be sure to mark or post the solution to help others out and/or to credit the one who helped you. :smiling_face_with_sunglasses:

Originally posted by scot1967 on October 28, 2025

I would also check to ensure the file exists and is not flagged read only and the rights are correct even though you are an admin it doesn’t hurt in case its a group policy thing but I doubt that. :slightly_smiling_face:

Originally posted by rraghvani on October 28, 2025

From the command prompt, run the following,

ReportGenerator.exe --cleanse --stop-monitoring

Then, download the TC installation from your SmartBear portal, restart your machine, then install.

Originally posted by Hassan_Ballan on October 28, 2025

You may have an instance of Report generator running and you can validate that by checking your Task Manager for process name. In any case to avoid any file locking issues I suggest that you:

  1. Reboot
  2. UN-Install
  3. Install

Such steps should go around any file locking issues and it differ from upgrading an existing install as it will restore TestComplete UI customization to default.

:+1: Found it helpful? Click Like
:white_check_mark: Issue resolved? Click Mark as Solution

Originally posted by scot1967 on October 28, 2025

I didn’t think about the process being stuck. Good one. :+1: I hope that does it trick.