TFS 2018 Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException:找不到页面

Posted

技术标签:

【中文标题】TFS 2018 Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException:找不到页面【英文标题】:TFS 2018 Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Page not found 【发布时间】:2019-08-12 03:27:28 【问题描述】:

我尝试为 TFS 2018 配置代理池。我的服务器链接是 https://[myserver]/[myproject]。 在浏览器中,我可以访问此链接,但是当我尝试配置代理池时,我收到此异常: 我运行 .\config.cmd 并跳过认证验证。 --sslskipcertvalidation

Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Page not found.
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<HandleResponseAsync>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__51.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__47`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.<ConnectAsync>d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.LocationServer.<ConnectAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.<IsHostedServer>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.<ConfigureAsync>d__6.MoveNext()

【问题讨论】:

【参考方案1】:

我的服务器链接是https://[myserver]/[myproject]。

不,那是指向团队项目集合的链接。您应该指定的 URI 是您的 TFS 实例 的 URI,即 https://[myserver]

【讨论】:

以上是关于TFS 2018 Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException:找不到页面的主要内容,如果未能解决你的问题,请参考以下文章

Microsoft Visual Studio MVC .Net Azure 参考清单问题

尝试安装用 c 编写的包时需要 Microsoft Visual C++ 14.0

即使安装了 Microsoft Visual C++ 14.0 也会出现 Pip 错误

使用 TFS 计划备份/还原将 TFS 2015 数据库还原到 TFS 2018 失败

Microsoft Visual C++ 2017 Redistributable 卸载不了怎么办?

微软发布TFS 2018!