TFS 2015-等待请求代理 [英] TFS 2015 - Waiting for an agent to be requested

查看:73
本文介绍了TFS 2015-等待请求代理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,从假期回来后,我的构建服务器不再希望运行任何构建.它只是停留在等待可用的座席/等待请求座席上,如果我取消它,我会觉得它停留在取消建立... 上,因为仅此而已我取消构建后发生了.等待消息仍然存在,但是构建不在构建队列中.

So after coming back from vacation my build server don't want to run any builds anymore. It's just stuck on Waiting for an available agent / Waiting for an agent to be requested and if I cancel it I feel it get's stuck on Build Cancelling... since nothing more is happening after I cancel the build. The waiting message is still there but the build is not in the build queue though.

座席池中的所有座席均为绿色,并且后台服务正在运行.

All the agents are green in the Agent Pool and the background service is running.

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

I am getting the following error in the event log:

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个内部异常上显示了相同的消息:

And after 14 Inner Exceptions with the same message on the 15th Inner Exception it says:

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/安装了MVC 4独立安装程序mvc4 ,但这没有帮助.还认为它突然缺少此程序集感到很奇怪.我还尝试过重新配置代理.

I have installed the standalone installer for MVC 4 from http://www.asp.net/mvc/mvc4 but that did not help. Also think it's wierd that it's suddenly missing this assembly. I have also tried reconfiguring the agent.

推荐答案

芬妮(Finnaly)再次使它工作了\ o/

Finnaly got this working again \o/

我认为已解决的问题是从此站点安装了ASP.NET MVC安全更新MS14-059:

What I think fixed it was installing the ASP.NET MVC Security Update MS14-059 from this site: https://www.microsoft.com/en-us/download/details.aspx?id=44533

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

It's still no System.Web.Mvc assembly reference in the %windir%\assembly folder but after innstalling the fix and restarting the server the job agent queued the job right away. And I had restarted the server multiple times before that so it was definitely not because of the restart.

这篇关于TFS 2015-等待请求代理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆