简体   繁体   English

无法将构建服务连接到TFS2013:错误TF30063您无权

[英]Unable to connect build service to TFS2013: Error TF30063 You are not authorized

I have TFS 2013 Update 3 installed on a machine and I'm trying to configure the TFS Build service on another machine on the same domain. 我在一台计算机上安装了TFS 2013 Update 3,并且试图在同一域的另一台计算机上配置TFS Build服务。 The registration of the build service completes successfully but the service, controller, and build agents go into an endless start/stop/restart loop. 构建服务的注册成功完成,但是服务,控制器和构建代理进入了无限的启动/停止/重新启动循环。 The event viewer on the build machine gives the following error in the Build Services Operational log: 生成机器上的事件查看器在“生成服务操作”日志中给出以下错误:

Build machine 'x' lost connectivity to message queue tfsmq://buildservicehost-18/.
Reason: TF30063: You are not authorized to access http://tfs2013:8080/tfs/defaultcollection.  

Things I have tried: 我尝试过的事情:

  • Both NetworkService account and a domain account for the build configuration 网络服务帐户和用于构建配置的域帐户
  • Unregistering/re-registering the build service 注销/重新注册构建服务
  • Uninstalling TFS on build machine and reinstalling 在构建机器上卸载TFS并重新安装
  • Creating a fresh server 2012 install, installing TFS build component on it 创建全新的服务器2012安装,在其上安装TFS构建组件

The domain account I tried to use was in the build service account group for the collection and I've even tried putting it in the admin group. 我尝试使用的域帐户位于集合的构建服务帐户组中,甚至尝试将其放入管理组中。 I also tried running it as my own domain account which is a tfs admin and domain admin account. 我也尝试将其作为自己的域帐户(tfs管理员和域管理员帐户)运行。 All with the same results. 所有结果相同。 The fact that this occurred on 2 different machines, one with a completely fresh everything install leads me to believe the problem is on the TFS application tier itself but I have no idea where to go from here. 这是在2台不同的机器上发生的,其中一台机器安装了全新的东西,这使我相信问题出在TFS应用程序层本身,但我不知道从何而来。 Visual studio is able to connect to TFS just fine for all users. Visual Studio能够连接到TFS,适合所有用户。

It sounds like you have a TFS 2012 server that you are trying to connect a TFS 2013 build agent to. 听起来您有尝试将TFS 2013构建代理连接到的TFS 2012服务器。 This is not a supported configuration. 这不是受支持的配置。

It is recommended that your build Agents version of TFS matched the version on the server. 建议您的TFS的构建代理版本与服务器上的版本匹配。 This does not mean that you can't build with any version of MSBuild or VS that you want on that agent. 这并不意味着您不能使用要在该代理上使用的任何版本的MSBuild或VS进行构建。 That's configuration. 这就是配置。

I ended up resolving this by doing the following: 我最终通过执行以下操作解决了这个问题:

  1. Detach Collection 分离集合
  2. Backup Collection as a precaution 备份收集作为预防措施
  3. Uninstall TFS 2013 from the App Tier (which is also the Data Tier) 从应用程序层(也是数据层)中卸载TFS 2013
  4. Re-install TFS 2013 and configure it for single server like it was without creating a collection 重新安装TFS 2013并像不创建集合那样为单个服务器配置它
  5. Attach the existing collection 附加现有收藏
  6. Uninstall TFS on the build server 在构建服务器上卸载TFS
  7. Re-install TFS on the build server and configure the service, controller, and agents. 在构建服务器上重新安装TFS并配置服务,控制器和代理。

This worked fine and didn't cause me to lose anything. 这个工作正常,并没有导致我损失任何东西。 I still don't understand why I was having problems in the first place but my only guess is that it was some type of remnant from doing a migration based upgrade from TFS 2010. 我仍然不明白为什么我最初会遇到问题,但是我唯一的猜测是,从TFS 2010进行基于迁移的升级是某种形式的残留。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Jenkins错误:TF30063:您无权访问 - Jenkins error: TF30063: You are not authorized to access TF30063:您无权访问xxx.visualstudio.com - TF30063: You are not authorized to access xxx.visualstudio.com TF30063:您无权访问 <VSO collection> -Visual Studio Online - TF30063: You are not authorized to access <VSO collection> - Visual Studio Online 自定义TFS服务器插件引发异常TF30063 - Custom TFS server plugin throws exception TF30063 如何解决不受信任的证书错误?(TFS2013 构建并部署到 IIS) - How can resolve Untrusted certificates Error ?( TFS2013 Build and deploy to IIS ) TFS 2013 Build Service连接到TFS2012服务器 - TFS 2013 Build Service connect to TFS2012 server 使用VS2013 / TFS2013在构建代理上模拟测试列表 - Emulating test lists on a build agent using VS2013/TFS2013 签入TFS2013源代码控制会触发与单独的TFS Git存储库关联的CI构建 - Check-ins to TFS2013 source control triggers CI build associated with separate TFS Git Repository TF Build 2013与TFS 2012兼容吗? - Is TF Build 2013 compatible with TFS 2012? TFS2013-为构建定义配置了代码分析,但是在构建中未显示任何分析结果 - TFS2013 - Code Analysis configured for build definition, but no analysis result show up in the build
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM