Microsoft KB Archive/921314

= You cannot delete a team query on a project when you are a member of the Team Foundation Administrators group in Visual Studio 2005 Team Foundation Server =

Article ID: 921314

Article Last Modified on 7/27/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Team Foundation

-





SYMPTOMS
When you try to delete a team query on a project in Microsoft Visual Studio 2005 Team Foundation Server, you receive the following error message:

System.UnauthorizedAccessException:

{&quot;TF26156: You are not a recognized administrator in the current team project. Contact another Team Foundation Server administrator to request permissions to this team project.&quot;}

You receive this error message when you are a member of the Team Foundation Administrators group, but you are not a member of the Project Administrators group for the project.



CAUSE
This problem occurs because the deleting process only checks for the Project Administrators group membership when you delete a team query. The deleting process does not check for the Team Foundation Administrators group membership.



WORKAROUND
To work around this problem if you are a member of the Team Foundation Administrators group, add yourself to the Project Administrators group for the project, and then delete the team query.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information, visit the following Microsoft Developer Network (MSDN) Web sites:

http://msdn2.microsoft.com/en-us/library/ms181359.aspx

http://msdn2.microsoft.com/en-us/library/ms252474.aspx

Additional query words: Administrator project tfs TF26156

Keywords: kbtshoot kberrmsg kbinfo kbbug kbprb KB921314

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.