Error TF26006: Team Foundation could not find <?>. (type DeniedOrNotExistException)


This issue was resolved in Urban Turtle 4.21



When accessing the Product Backlog, the user is presented with an error message similar to the following:

"TF26006: Team Foundation could not find 1423" 

where 1423 corresponds to a numerical identifier for an iteration.

and a stack trace similar to this one is generated:

Exception Message: TF26006: Team Foundation could not find 1406. (type DeniedOrNotExistException) 
Exception Stack Trace: at Microsoft.TeamFoundation.WorkItemTracking.Client.Project.FindNodeInSubTree(Int32 nodeId) 
at Pyxis.UrbanTurtle.Domain.Repositories.BacklogRepository.FindById(IProject project, Int32 backlogId) 
at Pyxis.UrbanTurtle.Domain.Services.ProductManagement.FeatureService.<>c__DisplayClass18.<OrderFeatureBacklogItems>b__e(IBacklogItem backlogItem) 
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() 
at System.Linq.Buffer`1..ctor(IEnumerable`1 source) 
at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext() 
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() 
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) 
at Pyxis.UrbanTurtle.Domain.Services.ProductManagement.FeatureService.OrderFeatureBacklogItems(IEnumerable`1 backlogItems, IEnumerable`1 backlogs) 
at Pyxis.UrbanTurtle.Domain.Services.ProductManagement.FeatureService.<>c__DisplayClass3.<FindAll>b__2(IBacklogItem backlogItem) 
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() 
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) 
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) 
at Pyxis.UrbanTurtle.Web.Areas.UrbanTurtle.Controllers.ProductBacklogController.Index()



This error is most likely caused by a work item from another project that has a parent and a child in the current project.

What is happening is probably similar to the following situation:.
Assuming that there are 3 work items in 2 projects:

Task A in project Foo;
Task B in project Bar;
Task C in project Foo;

The following parent-child relationship is known to potentially cause problems

Task A
   +--Task B
         +--Task C

The solution is to find the work item that is not in the current project and break the relationship. You can use a query to limit the scope of your search. You can make a query by clicking on WORK >> workitems >> New >> New Query from a project home page.

The information provided in the error message will help. Let's say that the error message was "TF26006: Team Foundation could not find 12345", it is possible to look for a work item that is not in the project but is in an iteration that has an id of 12345. Once the the work item is found, you can edit it and delete its link.


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.