Found out a way to delete the team project
Open a command line on your team foundation server and cd to
drive:/%program files%\Microsoft Visual Studio 9.0\Common7\IDE (For VSTS 2008)
tfsdeleteproject /q /force /server:<tfs server> "<project name>"
tfsdeleteproject /q /force /server:<tfs server> "<project name>"
Add the below keyAnd hit Retry on the Error message.
<add key="<DomainFullyQualifiedPath>" value="dcHostName" />