Thursday, March 29, 2012

TFS 2010 Build - Not enough storage is available to complete this operation

If you see the below error while building your projects on the build agents:
Not enough storage is available to complete this operation

The reason could be that the build agent machine is running out of memory.
Increasing the RAM on the build agnet machine should fix the issue. 

Friday, March 23, 2012

TF215097: An error occurred while initializing a build for build definition xxx: There is not enough space on the disk.

If you see the below error:

TF215097: An error occurred while initializing a build for build definition xxx: There is not enough space on the disk.
 
Please follow the below steps:

  • Go to Start->Programs->Microsoft Team Foundation Server 2010->Team Foundation Administration Console
  • Select a build agent and click Properties
  • Change the working directory from to $(SystemDrive) to D:, E: etc depending upon the free disk drive

 

Monday, March 19, 2012

TFS 2010 Gated Checkin - TF14098: Access Denied: User xxx needs Checkin, CheckinOther permission(s)

If you have enabled Gated Checkin on your souce tree, you would have seen the following properties in the build alert email:
  • Checked in on behalf of
  • Checked in by
The value for "Checked in by" is the account under which the build agent is running. The value for "Checked in on behalf of" is the user who actually checked in the changes which triggered the Gated Checkin.

If you recieve this below error during gated checkin:
TF14098: Access Denied: User xxx needs Checkin, CheckinOther permission(s) for $/TeamProject/xxx/abc.cs.

The reason is that the build agent account doesn't have permission on your source tree to checkin other user's changes