Home > Uncategorized > Default controller cannot be deleted because there are builds in progress

Default controller cannot be deleted because there are builds in progress

If you’re working with TFS 2010, and you get this message “default controller cannot be deleted because there are builds in progress” when trying to remove a build controller, you should of course check first to see if you can stop the build through the interface, but you can force the issue by running this query in the TFS_DefaultCollection database

update tbl_BuildQueue set status=16

This sets all builds to a status of cancelled.

Or if you prefer, do a select from tbl_buildQueue, and find any one that has a status of 1 (in progress) or 2 (Queueud).

Here are all the statuses

0 – None

1 – In progress

2 – Queued

4- Postboned

8 – Completed

16 – Cancelled

 

 

 

 

Categories: Uncategorized
  1. July 4, 2014 at 10:51 pm

    What does status = 32 mean?

    Like

  1. November 9, 2012 at 1:20 pm

Leave a reply to Aaron Patten Cancel reply