blog community
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..


Posted 28-11-2005 0:52 by Raimondb

Comments

TrackBack wrote Team Build TF42046: The Build Service used in the build process is not reachable
on 16-12-2005 5:38
Anonymous wrote re: TF42046: The build service used in the build process is not reachable.
on 12-04-2006 10:46
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
Alex Dresko wrote re: TF42046: The build service used in the build process is not reachable.
on 15-11-2006 16:52

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

Oh well.. works now.

Buck Hodges wrote re: TF42046: The build service used in the build process is not reachable.
on 10-05-2007 3:08

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

V-Ness wrote Team Build TF42046: The Build Service used in the build process is not reachable
on 13-01-2008 10:43

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

Shai Raiten wrote Team Build TF42046: The Build Service used in the build process is not reachable
on 14-02-2008 14:21

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

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Enter code (required)
Powered by Community Server (Commercial Edition), by Telligent Systems