TFS 2015 - 等待请求代理
TFS 2015 - Waiting for an agent to be requested
因此,在休假回来后,我的构建服务器不想再运行 任何构建。它只是卡在等待可用代理/等待请求代理,如果我取消它,我觉得它会卡在构建正在取消... 因为在我取消构建后什么也没有发生。等待消息仍然存在,但构建不在构建队列中。
代理池中所有代理都是绿色的,后台服务运行ning。
我在事件日志中收到以下错误:
Detailed Message: There was an error during job agent execution. The operation will be retried. Similar errors in the next five minutes may not be logged.
Exception Message: A previous call to WebApiConfiguration.Initialize failed. See inner exception for details. (type WebApiInitializationPreviouslyFailedException)
在 14 个内部异常之后,第 15 个内部异常显示相同的消息:
Exception Message: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (type FileNotFoundException)
我已经从 http://www.asp.net/mvc/mvc4 安装了 MVC 4 的独立安装程序,但这没有帮助。还认为它突然缺少这个程序集很奇怪。我也试过重新配置代理。
Finnaly 让这个再次工作 \o/
我认为已解决的问题是从该站点安装 ASP.NET MVC 安全更新 MS14-059:https://www.microsoft.com/en-us/download/details.aspx?id=44533
%windir%\assembly 文件夹中仍然没有 System.Web.Mvc 程序集引用,但在安装修复程序并重新启动服务器后,作业代理立即将作业排队。而且我之前已经重启过多次服务器所以肯定不是因为重启。
因此,在休假回来后,我的构建服务器不想再运行 任何构建。它只是卡在等待可用代理/等待请求代理,如果我取消它,我觉得它会卡在构建正在取消... 因为在我取消构建后什么也没有发生。等待消息仍然存在,但构建不在构建队列中。
代理池中所有代理都是绿色的,后台服务运行ning。
我在事件日志中收到以下错误:
Detailed Message: There was an error during job agent execution. The operation will be retried. Similar errors in the next five minutes may not be logged.
Exception Message: A previous call to WebApiConfiguration.Initialize failed. See inner exception for details. (type WebApiInitializationPreviouslyFailedException)
在 14 个内部异常之后,第 15 个内部异常显示相同的消息:
Exception Message: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (type FileNotFoundException)
我已经从 http://www.asp.net/mvc/mvc4 安装了 MVC 4 的独立安装程序,但这没有帮助。还认为它突然缺少这个程序集很奇怪。我也试过重新配置代理。
Finnaly 让这个再次工作 \o/
我认为已解决的问题是从该站点安装 ASP.NET MVC 安全更新 MS14-059:https://www.microsoft.com/en-us/download/details.aspx?id=44533
%windir%\assembly 文件夹中仍然没有 System.Web.Mvc 程序集引用,但在安装修复程序并重新启动服务器后,作业代理立即将作业排队。而且我之前已经重启过多次服务器所以肯定不是因为重启。