Tuesday, July 12, 2011

TFS 2010 - Build fails with error " Read permission is required to retrieve the content"

When the build fails with the below error, what does it mean:
TF215097: An error occurred while initializing a build for build definition \TeamProject\BuildDef: TF204001: The item $/TeamProject/BuildProcessTemplates/DefaultTemplate.xaml cannot be downloaded. Read permission is required to retrieve the content.
It means that the service account under which the build agent is running needs read access to the source control.

1 comment:

  1. FYI i had this issue and found that my Admin was part of the admin group which had permissions to do whatever he wanted but was set to explicitly deny for some reason for my whole TFS Collection.
    To fix, Right click on the Collection root in Source Control Explorer > Properties > Security Modifiy permissions here...

    ReplyDelete