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
04:49
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
19:29
Thankyou! Excatly what I was looking for. Solved my issue first time!
Posted by
Pablo
@
07 Jun 2009
20:52
I'm facing the same problem. After updated SP1 and still not solve. Any ideas?
Posted by
KLN
@
03 Oct 2009
03:24
Thank you SOOOOOOOOOOOOOOOOOOOOO MUCH!!!!!!!!
YOU SAVED ME A ton!!!!
LOVE YOU!!
Posted by
Darryl Skeard
@
19 Oct 2009
12:26
Thanks Josh. This had me humped as well.
Posted by
Ravi Chandra
@
23 Nov 2009
17:26
This is a great post...thanks a lot
Posted by
Jeremy Likness
@
08 Dec 2009
15:04
Saved my day with this one! Thanks for blogging it.
Posted by
Shahriar
@
22 Jan 2010
02:43
thank you man , it works for me properly.
Posted by
Aamir
@
18 Mar 2010
16:57
Do I need to un install team explorer and SP1 and reinstall in an order? I just reinstall SP1 2008 without un installing it it did not help me
Posted by
krishna Mohan Chaudhary
@
09 Apr 2010
04:27
Hi
I was facing the same issue and tried all the things mention here and on other side but non worked for me.
people Please help other in solving this issue.
My issue got resolved by looking into below url
It is quite easy to re-create them by following these steps:
- browse to
http://<ApplicationTierName>/reports- Click on New DataSource and fill up the information
- For TfsOlapReportDS:
- Connection type: Microsoft SQL Server Analysis Services
- Connection String: Data source=DataTierMachineNameGoesHere;initial catalog=TFSWarehouse
- Credentials: Use "Credentials stored in the report server, specify your service account and its password and check the first check box: "Use as Windows credentials when connecting to the data source"
For TfsReportDS: Everything is the same except the Connection type which should be set to Microsoft SQL Server.
Also ensure that they are named exactly as specified above as these are the names used to reference them in the reports.
Thanks,
Krishna
http://social.msdn.microsoft.com/Forums/en-US/tfsreporting/thread/fbc28427-e8b8-4ae4-ba9e-47a550b0977c
Posted by
pjman rezazadeh
@
13 Jun 2010
10:03
This is a great post...thanks a lot . My problem for creating new project is removed.Thank you very much !
Posted by
thiru
@
04 Jan 2011
18:44
Awesome!!!!!!!!!!!!!!!!Its working..