Tuesday, April 12, 2011

TF214007: No build was found with the URI

For one Team Project in Team Foundation Server, we noticed that every build definition we created failed with the following error:

“TF215097: An error occurred while initializing a build for build definition \TestTeamProject\New Build Definition 1: TF214007: No build was found with the URI vstfs:///Build/Build/56720. Either the URI does not exist, or domain\tfsserviceuser does not have permission to access it.”

If you read the description, there are 2 reasons why this can happen:

  1. The build URI does not exists. (Every build gets a unique URI assigned.) 
  2. The user does not have the permission to access the build definition»

We solved the issue by adding the tfs build user to the TeamProject’s [Build Services] group. Still a little bit weird because I didn’t had to do this for other projects…

No comments: