I am running TFS Beta 3. I have a situation where I have cancelled the creation of a new project (during the phase of it downloading the templates) and now I can't re-create the project with the same name. It says it already exists, although its not available as an Add Existing Project either.
Is there anything I can run on the server that will validate all existing project data in the database
Regards
Graham

Duplicate Project Names
WhPonds
TFSDeleteProject REQUIRES Sql Reporting Services to have a folder with the name of the project in it to be able to delete the project.
I created an empty folder called "Reusable Code" then ran TFSDeleteProject and it ran through correctly.
FranklinIssac
I tried the TFSDeleteProject with and without the /force option and both times it reported:
The item '/<projectname>' cannot be found ---> The item '/<projectname' cannot be found.
If I peek in to the db then there is a project named <projectname> in TFSIntegration.tbl_projects!!
Graham
EricJ
Unfortunately in the end I needed this server working as planned so I simple uninstalled TFS and STS, removed their databases and reinstalled.
All is working now ;-)
Graham
vivek23
Best of luck!
Protean
Is was during the download of the template. It said that it had cancelled the project creation, but then I was unable to re-create a project with the same name. I can create Projects with different names ok.
Graham
Kevinacci
Do you recall at what point in the project creation you cancelled Are you able to create projects with other names
Cheers,
Adam
perfect_alcon
Jody Byrd
http://forums.microsoft.com/msdn/ShowPost.aspx PostID=4677
Best of luck!
L Nut
try preceeding your server name with /TeamFoundationServer:. So your command line should be:
TFSDeleteProject /q /TeamFoundationServer:TFSSERVER TeamProject1
HTH
Graham
gary.ruan
Now I've got a source control folder for a project, and an entry in tbl_Projects but the project won't show up in Team Explorer, or be deleted using TFSDeleteProject.
My command line is:
TFSDeleteProject.exe /force /q /server:vsts "Reusable Code"
The item '/Reusable Code' cannot be found. ---> The item '/Reusable Code' cannot be found.
Xin Guo
Hi Adam,
I was going to mention TFSDeleteProject.exe but I wasn't able to run it successfully. The help states that:
Usage: DeleteTeamProject [/q] [/force] </TeamFoundationServer:<server name>> <team project name>
(Help message still shows old exe name)
So by that, the command I tried goes like this:
TFSDeleteProject /q TFSSERVER TeamProject1
where TFSSERVER is my Team Foundation Server and TeamProject1 is a cancelled team project. The /force switch doesnt help either.
All I get when I execute this is the help text recurring and no deletion.
Have the arguments and/or syntax changed from the DeleteTeamProject.exe to the TFSDeleteProject.exe It's weird because I know the DeleteTeamProject exe worked.