Ahmed Salijee

Problem starting Team Build 2008 after upgrading to Windows Server 2008

In my previous post, I mentioned that I upgraded to Windows Server 2008. All seemed to be ok until on Friday afternoon, I decided to do a quick test to see if my old builds were still working. I thought I might have some issues with respect to permissions and shares. I started the build and it stopped really quickly. Team Build came back with an error TF215085: An error occurred while connecting to the agent. I could also see TF215076 : Team Foundation Build is not responding.

 

First task - checked services. Team Build was not started even though it was set to manaul. Tried to start it but got an error that a dependant service could not be started

Checked the event log. it had an error. The Visual Studio Team Foundation Build service depends on the following service : HTTPFuler. This service might not be installed.

Looked at the available services and HTTP or HTTP Filter service available.

Workaround/resolution

Remove the dependency on the HTTP service - which I guess does not exist in WS08.

In the registry, goto HKEY LOCAL MACHINE/SYSTEM/CONTROLSET001/VSTFBUILD and remove the entry for DependsOnServer. Reboot!

Start Team Build - all good except...

If you kicked off the build initially like I did and you got the errors above, the build agent is set to a status unreachable. You need to bring up the "Build Agent Properties" dialog box and set the status to enabled.