TFS 2015 - 等待代理商被要求

时间:2016-08-03 08:07:40

标签: asp.net-mvc-4 tfs tfs2015

所以从假期回来后,我的构建服务器不再需要运行任何构建了。它只是坚持等待可用的代理/等待代理被要求如果我取消它我觉得它被卡在构建取消... ,因为没有更多我取消构建后正在发生。等待消息仍然存在,但构建不在构建队列中。

代理池中的所有代理都是绿色的,并且后台服务正在运行。

我在事件日志中收到以下错误:

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)

在第15次内部异常之后,在14个内部例外与同一消息之后,它说:

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的独立安装程序,但这没有帮助。还认为它突然错过了这个集会是很奇怪的。我也尝试过重新配置代理。

1 个答案:

答案 0 :(得分:0)

Finnaly再次开始工作\ o /

我认为修复它是从这个站点安装ASP.NET MVC安全更新MS14-059:https://www.microsoft.com/en-us/download/details.aspx?id=44533

%windir%\ assembly文件夹中仍然没有System.Web.Mvc程序集引用,但在修复并重新启动服务器后,作业代理会立即对作业进行排队。我之前已多次重启服务器,所以绝对不是因为重启。