When I started a XAML Build Controller on the build server, I noticed the following behavior:
- The controller and agents start up and change to the Ready state while the icons went green
- A few seconds later the icons turn red again, although the controller and agents remain in the same state.
- On the Build Controller, a details link appear that shows the following error message:
TF400324: Team Foundation services are not available from server <Server/CollectionName>.
Page not found
So what was going on?
Everything was caused by a change in IIS I did. Before the TFS server was hosted on https://mytfs.company.be/tfs but they wanted to get rid of the /tfs part. So I removed the tfs application from IIS and moved all services to the root of the site. This worked perfectly for TFS itself but caused issues for the build controllers.
Why?
Because there are in fact 2 applications that should be hosted:
- the root TFS webservices now hosted at https://mytfs.company.be/
- a /queue application that should be hosted at https://mytfs.company.be/queue
By removing the /tfs, the /queue application was gone as well. I added the /queue application and my build controllers and agents turned green again…