TF42056: Object Reference not set to an instance of an object

I have installed Team Foundation Build on Windows 2003 Standard Edition inside a Virtual Machine running on Virtual Sever 2005 R2.

I have confirmed that the Team Build Service is running.

When connecting from a client machine and a build is started the following error occurs:

TF42056: The build service could not connect to the Team Foundation Server: Object Reference not set to an instance of an object.

I have enabled the trace logger at level 4 (the default), and the connection request is logged but no error is written.

What would be causing this and where can I look for more ideas?

[670 byte] By [Grant_Holliday] at [2007-12-21]
# 1
The question which is configured in the team build service has permissions in the team Foundation server?
LuisFraile at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...
# 2

Hi Luis,

I'm not quite sure I understand what you mean?

Do you mean that "Is the service account added to the 'Build Services' project group"?

I'm not sure, I will check.

Grant_Holliday at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...
# 3

Sorry about my english :)

I mean, in the build machine, you have a windows service called "Build Services", can you check the account is this service using to run? maybe the account doesn't have permissions in TFS, it's just an idea, as the error is so generic.

LuisFraile at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...
# 4

There should be a little more information in the event log on the build machine. Could you take a look and post the contents of the message?

-Aaron

AaronHallberg at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...
# 5

Also, check for an error in the event log on the application tier when that error occurs. It's possible that the error is actually occuring on the application tier.

Buck

BuckHodges at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...
# 6

Grant, is there any more information on this problem? Do you still have the problem?

Buck

BuckHodges at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...
# 7
Sorry Buck,

The contract finished and I'm no longer there. I believe it was caused by the build services account not having privleges in the TFS "build services" group.

Grant

Grant_Holliday at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...
# 8

Okay, thanks for the follow up.

Buck

BuckHodges at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...

Visual Studio Team System

Site Classified