Just saw a piece of mail about the Visual Studio Team System 2008 Team Foundation Server Power Tools - March 2008 Release tfpt.exe /createteamproject fail with the error:

Unexpected error occurred when creating a team project.

Turns out the cause is due to a dependency on Team Foundation Server SP1 for this to succeed.  Since SP1 has not been released yet you will need to use the Beta which can be found at:

Team Foundation Server Service Pack  Beta 1

I will update the power tools website to have the correct system requirements

System Requirements

· Supported Operating Systems: Windows Server 2003 Service Pack 2; Windows Vista; Windows Vista Service Pack 1; Windows XP Service Pack 2

· Visual Studio 2008 Team Foundation Server Service Pack 1; Team Foundation Server Service Pack  Beta 1

· Visual Studio 2008 Team Explorer

The Best Practices Analyzer also requires:

· Windows PowerShell 1.0 (see Related Resources)

 

 

 

Unexpected error occurred when creating a team project.

Please make sure that you have installed Team Explorer included in Microsoft Vis

ual Studio Team System 2008 Service Pack 1 or later version.

System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL h

as been returned from a call to a COM component.

at EnvDTE80.DTE2.ExecuteCommand(String CommandName, String CommandArgs)

at Microsoft.TeamFoundation.PowerTools.CommandLine.TeamProjectCreator.CreateP

roject()

Team project creation log file has been created at "C:\Program Files\

Microsoft Team Foundation Server 2008 Power Tools\ProjectCreation_2008-05-28_07.37.15.log".

Error log

Unexpected error occurred when creating a team project.

System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.

at EnvDTE80.DTE2.ExecuteCommand(String CommandName, String CommandArgs)

at Microsoft.TeamFoundation.PowerTools.CommandLine.TeamProjectCreator.CreateProject()