TF03177: Team Project Creation Failed
Or
TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.Reporting plug-in..
And
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.. [sic]

I ran into this problem with TFS recently and it had me stumped. Why could I no longer create projects? My TFS server had been ticking away unchanged for sometime. I hadn't touched the security settings... why would it suddenly stop working?
Turns out I had rebuilt my machine since I last added a project to TFS (everything else in TFS was still working swimmingly) so where had I gone wrong.
In my haste to get my build up and running I was in the habit of installing Visual Studio 2008 SP1 early on - and I only ever got round to installing Team Explorer when I needed it, usually a couple of days later. And this is where I was going wrong, you have to reinstall Visual Studio 2008 SP1
after installing Team Explorer or you'll get this issue.
Baffling but I'm relieved to have solved it. To help others who are searching for this issue I'll include the full log below:
2009-03-09 11:23:25Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0 seconds
2009-03-09 11:23:25Z | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0 seconds
2009-03-09 11:23:26Z | Module: Wizard | TF30227: Project creation permissions retrieved | Completion time: 0.5148 seconds
2009-03-09 11:23:26Z | Module: Internal | The template information for Team Foundation Server "SNIP" was retrieved from the Team Foundation Server. | Completion time: 0.6864 seconds
2009-03-09 11:23:31Z | Module: Engine | Thread: 9 | New project will be created with the "MSF for Agile Software Development - v4.2" methodology
2009-03-09 11:23:31Z | Module: Engine | Retrieved IAuthorizationService proxy | Completion time: 0 seconds
2009-03-09 11:23:31Z | Module: Engine | TF30227: Project creation permissions retrieved | Completion time: 0.0156 seconds
2009-03-09 11:23:32Z | Module: Engine | Wrote compressed process template file | Completion time: 0 seconds
2009-03-09 11:23:33Z | Module: Engine | Extracted process template file | Completion time: 1.1544 seconds
2009-03-09 11:23:33Z | Module: Engine | Thread: 9 | Starting Project Creation for project "Test" in domain "SNIP"
2009-03-09 11:23:33Z | Module: Engine | The user identity information was retrieved from the Group Security Service | Completion time: 0.0624 seconds
2009-03-09 11:23:33Z | Module: Initializer | Thread: 9 | The New Team Project Wizard is starting to initialize the plug-ins.
2009-03-09 11:23:33Z | Module: CssStructureUploader | Thread: 9 | Entering Initialize in CssStructureUploader
2009-03-09 11:23:33Z | Module: CssStructureUploader | Thread: 9 | Initialize for CssStructureUploader complete
2009-03-09 11:23:33Z | Module: Initializer | Thread: 9 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Classification.
2009-03-09 11:23:33Z | Module: Rosetta | Thread: 9 | Entering Initialize in RosettaReportUploader
---begin Exception entry---
Time: 2009-03-09 11:23:33Z
Module: Initializer
Event Description: TF30207: Initialization for plugin "Microsoft.ProjectCreationWizard.Reporting" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: 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.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.CheckForProjectFolder(PrivateData data, String projectName, ProjectCreationContext context)
at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.Initialize(ProjectCreationContext context)
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.InitializePlugins(MsfTemplate template, PcwPluginCollection pluginCollection)
-- Inner Exception --
Exception Type: System.InvalidOperationException
Exception Message: Client found response content type of '', but expected 'text/xml'.
The request failed with an empty response.
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.Proxy.Reporting.ReportingService.ListChildren(String Item, Boolean Recursive)
at Microsoft.VisualStudio.TeamFoundation.RosettaReportUploader.CheckForProjectFolder(PrivateData data, String projectName, ProjectCreationContext context)
-- end Inner Exception --
--- end Exception entry ---
2009-03-09 11:23:33Z | Module: Engine | Thread: 9 | Attempting to delete MSF folder "SNIP\AppData\Local\Temp\2\TPW_tmp799.tmp"
2009-03-09 11:23:33Z | Module: Engine | Thread: 9 | The temporary folder SNIP\AppData\Local\Temp\2\TPW_tmp799.tmp used to store the process template was removed.

Post By
Josh Twist
4:49 AM
09 Mar 2009
» Next Post:
And now for something completely crazy: Binding without WPF
« Previous Post:
WCF: Could not establish trust relationship for the SSL/TLS secure channel with authority
Comments:
Posted by
Matthew Skilton
@
04 Jun 2009
7:29 PM
Thankyou! Excatly what I was looking for. Solved my issue first time!
Posted by
Pablo
@
07 Jun 2009
8:52 PM
I'm facing the same problem. After updated SP1 and still not solve. Any ideas?
Posted by
KLN
@
03 Oct 2009
3:24 AM
Thank you SOOOOOOOOOOOOOOOOOOOOO MUCH!!!!!!!!
YOU SAVED ME A ton!!!!
LOVE YOU!!
Posted by
Darryl Skeard
@
19 Oct 2009
12:26 PM
Thanks Josh. This had me humped as well.
Posted by
Ravi Chandra
@
23 Nov 2009
5:26 PM
This is a great post...thanks a lot
Posted by
Jeremy Likness
@
08 Dec 2009
3:04 PM
Saved my day with this one! Thanks for blogging it.
Posted by
Shahriar
@
22 Jan 2010
2:43 AM
thank you man , it works for me properly.