升级到TFS 2015后出现TF400898错误

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

1)当试图去tfs管理页面

TF400898: An Internal Error Occurred.

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: RR2014sweaver [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)

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

CData elements not valid at top level of an XML document. Line 1, position 3.

在这里输入图像描述

我该如何解决它?


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

我怀疑你试图安装Windows Server AppFabric,但还没有配置它。 如果您不使用Windows Server AppFabric,则应该卸载/取消配置它。

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

然而,我只是使用缓存功能,事实证明AppFabric有一个整体的Service Management Service来拦截请求 - 或者这种情况。 我没有使用它。

因此,我能够卸载主机组件来解决问题。

  • 开始> Programs and Features
  • AppFabric 1.1 for Windows Server选择AppFabric 1.1 for Windows Server然后单击Change
  • 取消选择Hosting Services
  • 在这里输入图像描述

  • 继续点击Next删除此组件。

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

  • 如果您实际使用的是Hosting Services您可能已经知道的比我如何运作更多,因此我希望您可以从那里拿到它来诊断问题。 原来的错误信息应该给出一些方向。

    链接地址: http://www.djcxy.com/p/87443.html

    上一篇: TF400898 error after upgrading to TFS 2015

    下一篇: why is socket.id undefined in the browser