在TFS中运行构建时出现间歇性错误 [英] Intermittent error when running builds in TFS

查看:96
本文介绍了在TFS中运行构建时出现间歇性错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


一段时间内,每隔几分钟,每个构建服务器都会开始报告此错误,并且构建会立即失败。


" 无法获取经过身份验证的令牌,用于运行带有计划类型构建和标识符项目集合构建服务的作业构建。"


<我们没有对TFS进行任何更新或更改,但可能已经应用了Windows更新。


这只是在2天前突然开始,现在让我们感到头疼。我们已经尝试重新启动构建服务器,但它只是再次发生。


有关如何诊断这一点的任何想法,构建服务器上的事件查看器中没有任何内容,我看不到任何内容构建日志。


谢谢


Jared

解决方案


感谢您在此发帖。


它应该与TFS服务帐户相关。由于某种原因,登录的帐户有临时配置文件。您可以尝试删除临时配置文件并在c:\ usersrs ....服务器上创建正确的本地配置文件,然后重新登录。


请参考相同的问题
here


" Visual Studio Team Foundation Background Job Agent"触发构建任务试图访问临时配置文件以获取和生成System.Security.Cryptography.CryptographicException:用户的配置文件是临时配置文件。"


最好的问候。


Hi

Every few minutes for a period of time, each build server starts reporting this error and the build fails immediately.

"Unable to obtain an authenticated token for running job Build with plan type Build and identifier Project Collection Build Service."

We have not made any updates or changes to TFS, but there could have been Windows updates applied.

This just suddenly started 2 days ago and is causing us a real headache right now. We have tried rebooting build servers, but it just happens again.

Any ideas of how to diagnose this, there is nothing in Event Viewer on the Build servers and I can't see anything in the build logs.

Thanks

Jared

解决方案

Hi Jared,

Thank you for posting here.

It should be related with TFS service account. For some reason account logged in had a temp profile. You can try to delete the temp profile and login back as created proper local profile on the server at c:\users....

Please reference the same question here:

"Visual Studio Team Foundation Background Job Agent" triggering the build task tried to access the temporary profile to get and produced System.Security.Cryptography.CryptographicException: The profile for the user is a temporary profile."

Best Regards.


这篇关于在TFS中运行构建时出现间歇性错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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