WOW!!!! So here are the technology battle wounds for this week!
I needed to build a VS2010 solution within TFS 2008 Builds , however I didn’t have permissions to add the required binaries to the existing TFS Build Server. My solution: create my own TFS Build Server.
So I did some reading, turns out TFS 2010 and TFS 2008 can co-exist on the same server. Well, this must mean they are compatible. Survey Says: NOOOOOOO!!!
So after I install TFS 2010 Build and make this splendid discovery due to poor assumption, I uninstall and install TFS 2008 Build.
The server I was installing on, a Windows 2008 R2 Enterprise Server , AD Domain Controller with all the trimmings! Turns out, TFS 2008 doesn’t like to be installed on a domain controller.
Next step: Hack the installer so that it does like to be installed on a Domain Controller.
Yadda Yadda Yadda, TFS 2008 Build is up and running. It asks me for domain credentials, I use the credentials of the other domain the TFS Server is on, and to my surprise it finds TFS Projects and queries them correctly!
So I hop back over to the other domain and through TFS Team Explorer begin creating a new Build Definition. I make it through that, and Queue a New Build.
Build: Failure. Big. Big. Failure.
I get quite a few of them, make some adjustments and then I hit the wall. On the TFS Build server, I was running the service as Network Service. Well, the TFS 2008 Server on the other domain read “I don’t know who you are, please go away”. Ok, well that was the more fruitful way it read.
So I’m thinking, this is no problem, I’ll just run the service a as domain user from the other domain. Except of course, that domain doesn’t have any knowledge of the other domain, so you cannot add users from the other domain at the Windows level.
This is when I called in for reinforcements, and got a system administrator involved. He said I could move the server to his domain, which does have associated trusts with the other domain, but I must decommission this server as a domain controller, so they could add it. It also meant much of the existing software could stop working properly. I’m figuring at this point, may as well try, considering the end result, is I’m building a new server from scratch on the system admin’s domain anyway.
After a couple more hours of trying to get the TFS Build Service operational again, the white flag has gone up, a new server will be commissioned and the battle will be fought all over again.
This round goes to the technology goblins, you may have won the battle, but the war will go on indefinitely.
Faithfully submitted,
Vinny Davi,
Avenging software developers from technology terror one battle at a time.