Deleting Projects from TFS

8 06 2009

MSDN article about TFSDeleteProject. Has usage and troubleshooting.

Just wanted to create a quick reference for myself for future use.

http://msdn.microsoft.com/en-us/library/dd206696.aspx

Use:
TFSDeleteproject [/q] [/force] [/server:servername] team project name

Argument Description
Team project name The name of the project. Use quotation marks if there are spaces in the name.
servername The server name. Use quotation marks if there are spaces in the name.
 
Option Description
/q Use the quiet mode. Do not prompt the user for confirmation.
/server:servername The name of the application-tier Team Foundation Server where the team project is located. This is required in multi-server environments.
/force The program should continue even if some parts cannot be deleted.

*NOTE: TFSDeleteProject.exe is located in {Drive}\Program Files\Microsoft Visual Studio 9.0\Common7\IDE





TFS Power Tools Collaboration Error

5 06 2009

A few days after installing the TFS Power Tools, I started getting error messages whenever I opened up the Team Explorer pane in Visual Studio. The exact error was:

Creating an instance of the COM component with CLSID {B69003B3-C55E-4B48-836C-BC5946FC3B28} from the IClassFactory failed due to the following error: 8007000e.

The problem was related to the collaboration piece of the tool. My installation had Widows Live Messenger as the selected provider. I don’t know if this is the default selection or if somehow the installation detected what was running. Either way, the fix to stopping the error messages was to disable the collaboration piece.

  1. Right click on the Team Members node of the project.
  2. Select Personal Settings… from the context menu.
  3. In the Collaboration grouping, click on the Change button.
  4. In the window to choose a collaboration provider, select <None>
  5. Click OK twice.

As a side note, other than the message box showing the error, I didn’t really encounter any problems with the operation of TFS. The other option available, aside from Messenger, was to use Communicator as the collaboration medium.





TF30177: Team Project Creation Failed

3 06 2009

I encountered the error below when trying to create a new project under TFS. TFS was a brand new install and I was making sure the installation didn’t have any problems.

TF30177: Team Project Creation Failed

Error
TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.Reporting plug-in.

Explanation
TF30171: The Microsoft.ProjectCreationWizard.Reporting plug-in used to create the new team project could not be initialized and returned the following error: TF30224: Failed to retrieve projects from the report server. Please check that the SQL Server Reporting Services Web and Windows services are running and you have sufficient privileges for creating a project..

User Action
Contact your Team Foundation Server administrator.

After experimenting with permissions for the TFS service and TFS reporting accounts for the local machine, reporting services and WSS, to no avail, I finally came accross Jason Barile’s blog about installing VS 2008 SP1 AFTER installing Team Explorer.