1

My Team Project stuck in status "Deleted (Processing)" for 2 days. I deleted it by using the TFS Admin Console and after that it stuck in the status mentioned above. No log and no eventlog was generated so i can't see any problems. Trying to delete it again via the UI didn't work. I restarted the TFS 2010 server yesterday but this didn't help even. How can i delete it now?

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
Denis
  • 107
  • 1
  • 13
  • There are a number of jobs that do he actual cleanup/deletion, they run in the background. If your Team project was exceptionally big (or had lots of builds/test results/sources), it could take a while for the deletes to process. You could try executing `prc_DeleteUnusedContent` to force a cleanup run. http://social.technet.microsoft.com/wiki/contents/articles/19932.reduce-the-size-of-tfs-databases-after-cleaning-some-source-control-files.aspx – jessehouwing Apr 22 '16 at 15:05
  • I will take a look on Monday. But for information, the team project was empty. I created it 4 hours before I deleted it. – Denis Apr 24 '16 at 09:59
  • Does this issue happen on each team project in a particular team project collection? How about another team project collection? Any information under the Logs section in the console – Cece Dong - MSFT Apr 25 '16 at 07:47

1 Answers1

0

You can try TFSDeleteProject command to delete team projects:

TFSDeleteproject [/q] [/force] [/excludewss] /collection:URL TeamProjectName
Cece Dong - MSFT
  • 29,631
  • 1
  • 24
  • 39