TFS 2008 – Project deleted but SharePoint side failed to be deleted

I tried to use TFSDeleteProject command to remove the project from the TFS server,

tfsdeleteproject /server:myserver myprojectname

but at the end of the process there is this error message

Deleting from Build …
Done
Deleting from Work Item Tracking …
Done
Deleting from Version Control …
Done
Deleting Report Server files …
Done
Deleting SharePoint site …
Could not connect to ‘
http://TFS08:17012/_vti_adm/admin.asmx’
The request failed with the error message:

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="
http://tfs08:17012/_layouts/1033/error.aspx?ErrorTe
xt=Request%20timed%20out%2E">here</a>.</h2>
</body></html>

Then I tried to repeat the command again with the /force option (tfsdeleteproject /force /server:myserver myprojectname), I still get the error

Deleting from Build …
Done
Deleting from Work Item Tracking …
Done
Deleting from Version Control …
  Not found
Deleting Report Server files …
  Not found
Deleting SharePoint site …
Exception of type ‘Microsoft.SharePoint.SoapServer.SoapServerException’ was thro
wn.
Deleting from Team Foundation Core …
Done

But actually what happened is everything within TFS have been safely removed except the SharePoint, so you need to go into SQL Server Management Studio and connect to WSS_Config database

Select Id From Sitemap Where Path = ‘/Sites/myprojectname’

Grab the Id and execute this SQL

exec dbo.proc_dropSiteMap @Id=%Id%

After that you still need to clean up your WSS_Content database by executing this

exec proc_DeleteSite %Id%

But do note you might have nothing to delete in the WSS_Content

Talk on Source Control using TFS 2008 and Continuous Integration in TFS 2010

Local VSTS Partner and C# MVP Ervin Loh delivered a talk recently on 12th Jun about source control features inside Team Foundation Server 2008. This is actually a Microsoft Malaysia hosted event known as Devtalk where every month they invite speakers to share on topics of interest to developers. He has blogged about it here., and you can also visit his blog to access the slides deck.

IMAGE_005

Ervin’s session is followed by my colleague Hoong Fai who talked about Continuous Integration with TFS 2010!

 

IMAGE_010

Visual Studio 2008 Trial VPC image updated for holidays season.

Since the existing VPC trial image of Visual Studio 2008 will expires in end of this year, Microsoft has updated the image and posted it online. On top of that, the good folks of Redmond also created images for those wanting to run VS2008 in their Hyper-V environment.

  • VSTS “all-up” Virtual PC/Virtual Server image (6 GB download, expands to 15 GB)
  • TFS “only” Virtual PC/Virtual Server image (3 GB download, expands to 8 GB)
  • VSTS “all-up” Hyper-V image (6 GB download, expands to 15 GB)
  • TFS “only” Hyper-V image (3 GB download, expands to 8 GB)

    Something good to play with if you got nothing to do while clearing your year end leaves. :)