2
votes

I have configured the TFS 2013 build service but the build controller fails after 5 seconds with error

Please contact your administrator. There was an error contacting the server. Technical information (for administrator): HTTP code 500: System.ServiceModel.ServiceActivationException

I tried modifying the web.config Program Files\Microsoft Team Foundation Server 12.0\Application Tier\Message Queue but no luck

http://social.msdn.microsoft.com/Forums/vstudio/en-US/a48e3951-d984-4648-ad24-a18ed09de97b/tfs-2012-builds-stuck-at-just-started?forum=tfsbuild

3

3 Answers

8
votes

Take a look at Task Manager on the machine where your TFS Repository lives. We have this problem whenever its memory utilization is greater than 95%.

2
votes

Had the same issue and in our case it was resolved after lowering the memory usage of the server.

0
votes

I set the build service property to set the domain user and and also Changed the tfs site in IIS to connect as same user.Not sure if this was the issue.

Then i just restarted the TFS server machine and build server .Build service did not show this error. No modification was made to the webconfig files