![TF30004:新建团队项目向导在初始化 Microsoft.ProjectCreationWizard.Portal 插件时遇到意外错误](https://linux22.com/image/494082/TF30004%EF%BC%9A%E6%96%B0%E5%BB%BA%E5%9B%A2%E9%98%9F%E9%A1%B9%E7%9B%AE%E5%90%91%E5%AF%BC%E5%9C%A8%E5%88%9D%E5%A7%8B%E5%8C%96%20Microsoft.ProjectCreationWizard.Portal%20%E6%8F%92%E4%BB%B6%E6%97%B6%E9%81%87%E5%88%B0%E6%84%8F%E5%A4%96%E9%94%99%E8%AF%AF.png)
当我尝试在团队项目中创建新项目时,我收到此错误。服务器正确,我检查了所有端口。我不知道现在该做什么,找不到任何有用的信息
2009-09-19 01:45:41Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0.338 seconds
2009-09-19 01:45:41Z | Module: Internal | The template information for Team Foundation Server "TFSServer01" was retrieved from the Team Foundation Server. | Completion time: 0.099 seconds
2009-09-19 01:45:41Z | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0.404 seconds
2009-09-19 01:45:41Z | Module: Wizard | TF30227: Project creation permissions retrieved | Completion time: 0.015 seconds
2009-09-19 01:45:44Z | Module: Engine | Thread: 5 | New project will be created with the "MSF for Agile Software Development - v4.2" methodology
2009-09-19 01:45:44Z | Module: Engine | Retrieved IAuthorizationService proxy | Completion time: 0 seconds
2009-09-19 01:45:44Z | Module: Engine | TF30227: Project creation permissions retrieved | Completion time: 0.01 seconds
2009-09-19 01:45:45Z | Module: Engine | Wrote compressed process template file | Completion time: 0.001 seconds
2009-09-19 01:45:46Z | Module: Engine | Extracted process template file | Completion time: 1.428 seconds
2009-09-19 01:45:46Z | Module: Engine | Thread: 5 | Starting Project Creation for project "TestProject" in domain "TFSServer01"
2009-09-19 01:45:46Z | Module: Engine | The user identity information was retrieved from the Group Security Service | Completion time: 0.045 seconds
2009-09-19 01:45:46Z | Module: Initializer | Thread: 5 | The New Team Project Wizard is starting to initialize the plug-ins.
2009-09-19 01:45:46Z | Module: CssStructureUploader | Thread: 5 | Entering Initialize in CssStructureUploader
2009-09-19 01:45:46Z | Module: CssStructureUploader | Thread: 5 | Initialize for CssStructureUploader complete
2009-09-19 01:45:46Z | Module: Initializer | Thread: 5 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Classification.
2009-09-19 01:45:46Z | Module: Rosetta | Thread: 5 | Entering Initialize in RosettaReportUploader
2009-09-19 01:45:48Z | Module: Rosetta | Thread: 5 | Exiting Initialize for RosettaReportUploader
2009-09-19 01:45:48Z | Module: Initializer | Thread: 5 | The New Team Project Wizard successfully Initialized the plug-in Microsoft.ProjectCreationWizard.Reporting.
2009-09-19 01:45:48Z | Module: WSS | Thread: 5 | Entering Initialize in WssSiteCreator
2009-09-19 01:45:48Z | Module: WSS | Thread: 5 | Site information: Title = "TestProject" Description = "This team project was created based on the 'MSF for Agile Software Development - v4.2' process template."
2009-09-19 01:45:48Z | Module: WSS | Thread: 5 | Base site url: http://TFSServer01:14143/webbplatser
2009-09-19 01:45:48Z | Module: WSS | Thread: 5 | Admin site url: http://TFSServer01:16183/_vti_adm/admin.asmx
---begin Exception entry---
Time: 2009-09-19 01:46:27 Z
Module: Initialize
Event Description: TF30207: Initialization for plugin "Microsoft.ProjectCreationWizard.Portal 'failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: The client discovered that content-type of request is text / html; charset = utf-8, but the text / xml expected.
The request failed with error message:
--
Unable to connect to the configuration database.
--.
Stack Trace:
vid Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.CheckPermissions(ProjectCreationContext ctxt)
vid Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.Initialize(ProjectCreationContext context)
vid Microsoft.VisualStudio.TeamFoundation.EngineStarter.InitializePlugins(MsfTemplate template, PcwPluginCollection pluginCollection)
-- Inner Exception --
Exception Type: System.InvalidOperationException
Exception Message: The client discovered that content-type of request is text / html; charset = utf-8, but the text / xml expected.
The request failed with error message:
--
Unable to connect to the configuration database.
--.
Stack Trace:
vid System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
vid System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
vid Microsoft.TeamFoundation.Proxy.Portal.Admin.GetLanguages()
vid Microsoft.VisualStudio.TeamFoundation.WssSiteCreator.CheckPermissions(ProjectCreationContext ctxt)
-- end Inner Exception --
--- end Exception entry ---
谢谢你的帮助
答案1
答案2
不久前我遇到过同样的问题,我的解决办法是重新安装应用程序,虽然很愚蠢,但对我有用......