index > Team Foundation Server - General > Context menu for work item returns "Index was outside the bo...

Context menu for work item returns "Index was outside the bo...


Hi,

In one of my team project, the "Add Work Item" menu item is giving me an error; it expands to "Error loading menu: Index was outside the bounds of the array" instead to a list of work item types.

Anybody have any idea what might be causing this error? Or where to get more information on this error?

Here are some additional information that might be useful:

  • It is only happening in this one team project. Other team project are working properly
  • This team project had been deleted and "recreated" (i.e. create with same project name). The original team project was using the MSF Agile template and the new one uses the MSF CMMI template.
  • Nobody else in this team project is having this problem.
  • I had done some work item type customization on the "previous instance" of this project (i.e. on the team project that was deleted).

Thanks

Chi Tan
This is most likely because of registry key issues with our UI components. We thought we fixed it but looks like it still happens in some circumstances. To fix it, delete the entire HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\WorkItemTracking\TeamMenu key in registry. In case you get specific steps to repro the problem pls let us know for us to investigate.

Thanks.

Naren Datha - MSFT

Naren,

I had this issue on Friday as well, here is the scenario I believe caused it to occur for us:

  1. Project was created from Machine A
  2. Machine B added the project to Team Explorer
  3. Project was deleted using tfsdeleteproject /force from Machine A
  4. Project was re-created with the same name from Machine A
  5. Machine B tries to access the project

The problem still occurred after the project was removed, re-added, restarts, etc. on Machine B.

Regards,

William Bartholomew

William Bartholomew

Thanks for the steps William. I'll try these steps to repro. Are you able to get unblocked by fixing the registry and move on?

Thanks.




http://blogs.msdn.com/narend
Naren Datha - MSFT

Naren,

Yes, the registry fix has worked on both the computers that have been affected.

Regards,

William Bartholomew

William Bartholomew

Naren,

The registry fix has also corrected my problem.

Thank you

Chi Tan
reply 6

You can use google to search for other answers

 

More Articles

New Group remains invisible by WIT system
scheduled and event based builds in Team System
Team Build Failure on Tests
License to be purchased for TFS
Incremental Team Builds
vssconverter problem
Trial Edition & Source Control
Additional attributes on Active Directory are created but unable ...
Using Team Build to Publish WebSites
WorkItemFormControl and HtmlControl -- formatting
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Connect to Team Foundation Server error …
Installation failure on Warehouse.exe wi…
Report Subscription Question
Caching\Source Control abnormalities in …
Create new report in RC
Code Analysis Check-in Policy Fails afte…
Trying to run
"Edited by God" history message.
Problem with the report site.
TFS Warehouse Processing Error
TeamBuild pulls entire source tree, not …
Work items seems to use sAMAccountName a…
TFS Reporting Errors
TFVC Command Line
Team Build & ClickOnce

Hot Articles

Source Code Control - Share
Can not add new Work ITem
Bug in team build report in beta3??
mixed VSS/TFS source control deployment?
TFS/Project Integration
Source Code Explorer Menus disabled
Team Build, local directory tree differs…
BisSubscribe examples
Errors when performing a check-in with T…
Line Breaks in Printed Work Item
Shared auto-generated stub file in Sourc…
Question RE Team Foundation Server, Team…
List of TF commands that don't require c…
Error on Check In
error MSB3491

Recommend Articles

BisSubscribe examples
Beta3 Build: Workspace does not exist + …
TFSWarehouse schema?
Wierd work-item bug
Cannot connect to sites web service for …
Team Studio builds successfully but Summ…
Passing UserName/Password on Command lin…
Migrating description part of History fi…
SQL Error on Get Latest
Team System Build question
can i develop a web page to insert data ?
File Attachments NOT opening
How to move the $root repository to othe…
How do I list the changes between one la…
vssconverter problem