You are currently offline, waiting for your internet to reconnect

Error TF50309 in the Application Event log running a Team Foundation Server Build

Source: Microsoft Support
RAPID PUBLISHING
RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
Action








You configure a build in Microsoft Team Foundation Sever and queue that build.
Result


The build fails and an error similar to the following appears in the Application Event Log:



TF53010: The following error has occurred in a Team Foundation component or extension:

......

Account name: [Domain]\[User]
Detailed Message: TF50309: The following account does not have sufficient permissions to complete the operation: <DOMAIN>\<USER>. Check the permissions for the account and grant the appropriate permissions to perform this operation.
Web Request Details
Url: http://<tfserver>:8080/Services/v1.0/Registration.asmx [method: POST]
User Agent: Team Foundation (TFSBuildService.exe, 9.0.21022.8)

.......

User: [Domain]\[User] [authentication type: NTLM]
Exception Message: TF50309: The following account does not have sufficient permissions to complete the operation: [Domain]\[User]. Check the permissions for the account and grant the appropriate permissions to perform this operation. (type UnauthorizedAccessException)
Exception Stack Trace: at Microsoft.TeamFoundation.Server.SecurityManager.CheckGlobalPermission(IPrincipal user, String actionId)
at Microsoft.TeamFoundation.Server.Registration.GetRegistrationEntries(String toolId)...
Cause
As part of the of a build, access privileges of the account configured to run the build are verified by a call to the Registration web service on the Team Foundation Server application tier machine. This is the call to http://tfsappprod:8080/Services/v1.0/Registration.asmx seen in the event log entry. In this case, the account configured to run the build does not have sufficient rights to do so.
Resolution
The account that the build machine runs the service TfsBuildService.exe under needs permissions to your TFS Application Tier. Add that account to the TFS "Build Services" group for the team project of the failing build.
More Information
DISCLAIMER
MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
Properties

Article ID: 951592 - Last Review: 04/10/2008 17:23:48 - Revision: 1.2

  • Microsoft Visual Studio 2005 Team Foundation Server
  • Microsoft Visual Studio Team System 2008 Team Foundation Server
  • kbnomt kbrapidpub KB951592
Feedback