blog community

Welcome to blog community Sign in | Join | Help
in Search

Raimond Brookman

Architecture and .NET Development

TF42046: The build service used in the build process is not reachable.

After having a new TFS image set up and trying to a get a Team Build to run, I got the following strange error:

TF42046: The build service used in the build process is not reachable.  This error occurs when either the build machine is off-line,the required service is not running, Team Build is not installed on the build machine, Team Build is configured for a different Team Foundation Server or the network is not available.

After some checking, everything seemed in order. I had the Team Build Service running, the firewall configured correctly etc. After I searched around a bit for possible problems together with Marcel, I noticed that inside my Team Foundation Server settings, no one was a member of the group TFS Service Accounts anymore. During setup, the account specified for the Build Server is automatically added to this group and so it should be in there. But I had run newsid.exe and think this might have caused the problem because it does some hefty SID find-replacing.

Anyway, we needed to get the service account back in the service accounts group. This can not be done via de GUI, as the buttons to do that are disabled for this group. However, team foundation server also comes with a set of tools found below the Team Foundation Server installation directory. One of those tools is TFSSecurity.exe . This tool does allow you to add the user again.

After doing that, everything was running as it should

Also, when searching for this problem, I got exactly 1 hit in Google, on a Microsoft forum. So I thought it would be nice to inform those guys of my findings too..

Published Monday, November 28, 2005 12:52 AM by Raimondb

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

TrackBack said:

December 16, 2005 5:38 AM
 

Anutthara said:

You can find the troubleshooting script for this error at http://blogs.msdn.com/anutthara/archive/2005/12/28/507686.aspx Tell me if you found it to be of any use
April 12, 2006 10:46 AM
 

Alex Dresko said:

Your suggestion fixed my problem. I wonder how the service account gets removed from that group?

Oh well.. works now.

November 15, 2006 4:52 PM
 

Buck Hodges said:

The build service account should be in the TFS Build Services group for that Team Project ([whatever team project]\Build Services). You would not want it to be in the TFS Service Accounts group (that’s full admin access).

Buck

May 10, 2007 3:08 AM
 

V-Ness said:

One of our customers report that Team Build suddenly stop working and shows TF42046 error... In this

January 13, 2008 10:43 AM
 

Shai Raiten said:

One of our customers report that Team Build suddenly stop working and shows TF42046 error... In this

February 14, 2008 2:21 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit

This Blog

Syndication

News

Subscribe in NewsGator Online

Subscribe in Bloglines

Add to Google


 Visitors since June 2005




Powered by Community Server, by Telligent Systems