升级到TFS 2015后出现TF400898错误

Sim*_*ver 7 tfs upgrade tfs-2015

将TFS Express 2013升级到2015后,我收到以下错误:

1)尝试转到tfs管理页面时

TF400898: An Internal Error Occurred.
Run Code Online (Sandbox Code Playgroud)

2)在事件日志中:

Web Request Details
    Url: http://tfs.XXXXXX.com:8080/tfs/defaultcollection/Services/v3.0/LocationService.asmx [method: POST]
    User Agent: Team Foundation (devenv.exe, 14.0.23102.0, Pro, SKU:31)
    Headers: not available
    Path: /tfs/defaultcollection/Services/v3.0/LocationService.asmx
    Local Request: False
    Host Address: 76.XXX.XXX.115
    User: RR2014\sweaver [authentication type: NTLM]

Exception Message: The extension '.svc' is not registered with WCF/WF handler. Please either remove relativeAddress '~/ServiceManagement.svc' in 'system.serviceModel/serviceHostingEnvironment/serviceActivations' from configuration file or register the corresponding extension '.svc' with WCF/WF handler. Please refer to 'http://msdn.microsoft.com/en-us/library/bb515343.aspx' for how to register an extension in IIS. (type ConfigurationErrorsException)
Exception Stack Trace:    at System.ServiceModel.ServiceHostingEnvironment.HostingManager.NormalizedRelativeAddress(String relativeAddress)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.LoadConfigParameters()
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager..ctor()
   at System.ServiceModel.ServiceHostingEnvironment.EnsureInitialized()
   at System.ServiceModel.ServiceHostingEnvironment.OnEnsureInitialized(Object state)
   at System.ServiceModel.AspNetPartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state)
   at System.ServiceModel.ServiceHostingEnvironment.SafeEnsureInitialized()
   at System.ServiceModel.Activation.ServiceHttpModule.BeginProcessRequest(Object sender, EventArgs e, AsyncCallback cb, Object extraData)
   at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Run Code Online (Sandbox Code Playgroud)

3)在Visual Studio 2015中尝试连接时:

CData elements not valid at top level of an XML document. Line 1, position 3.
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

我该如何解决?

Sim*_*ver 4

我能找到的与此问题相关的唯一资源是MSDN 论坛帖子

我怀疑您尝试安装 Windows Server AppFabric,但尚未配置它。如果您不使用 Windows Server AppFabric,则应卸载/取消配置它。

这个评论很有启发性,但有点可怕,因为我实际上依赖 AppFabric!

然而,我只是使用缓存功能,结果发现 AppFabric 有一个Service Management Service拦截请求的整体 - 或者类似的东西。我没有用那个。

因此,我只能卸载托管组件来解决问题。

  • 开始>Programs and Features
  • 选择AppFabric 1.1 for Windows Server并单击Change
  • 取消选择Hosting Services

在此输入图像描述

  • 继续Next删除该组件。

  • 您现在应该能够运行 TFS,而不会与 AppFabric 发生冲突。

如果您实际上正在使用它,Hosting Services您可能已经比我更了解它是如何工作的,所以我希望您可以从那里开始诊断问题。原来的错误消息应该给出一些指示。