Visual Studio Developer Center > Visual Studio Team System Forums > Team Foundation Server - Team System Web Access > after dele a work item from server, i meet error: TF26198: The work item does not exist, or you do not have permission to access it.

Answered after dele a work item from server, i meet error: TF26198: The work item does not exist, or you do not have permission to access it.

  • Monday, April 06, 2009 8:09 AM
     
     
    i use latest version VSTS web access.
    i just dele 3 work items by using TFPT.EXE  command in server side.

    after i restart server. then access VSTS web access. i meet error at project "Home" page.

     TF26198: The work item does not exist, or you do not have permission to access it.

    all other functions are fine. i still have some work items open by me and assign to me. but home page of that project still have such error.

    i think this may caused by some info is still not clearly deleted, any solution?


    铅笔小新

Answers

  • Monday, April 06, 2009 10:01 AM
     
     Answered
    Hi,

     You may need to clear the cache in the web access. To do this stop the  team system web access app pool and delete all files from c:\Program Files\Microsoft Visual Studio 2008 Team System Web Access\Cache

     Start the app pool again and check to see if it is now working...




    Martin Hinshelwood | Team System MVP
    • Proposed As Answer by Hua Chen Monday, April 13, 2009 5:48 AM
    • Marked As Answer by Hua Chen Tuesday, April 14, 2009 8:35 AM
    •  

All Replies

  • Monday, April 06, 2009 10:01 AM
     
     Answered
    Hi,

     You may need to clear the cache in the web access. To do this stop the  team system web access app pool and delete all files from c:\Program Files\Microsoft Visual Studio 2008 Team System Web Access\Cache

     Start the app pool again and check to see if it is now working...




    Martin Hinshelwood | Team System MVP
    • Proposed As Answer by Hua Chen Monday, April 13, 2009 5:48 AM
    • Marked As Answer by Hua Chen Tuesday, April 14, 2009 8:35 AM
    •  
  • Wednesday, August 12, 2009 5:56 PM
     
     Proposed Answer
    I had the same problem and solved it by opening the UI that allows you to select which project you want to work on with web access, clear the checkbox that correspond to the project with the access denied bug, save, reopen the dialog, reselect the project, save.
    • Proposed As Answer by e-cyprus Monday, December 14, 2009 9:56 AM
    •  
  • Wednesday, December 09, 2009 7:10 AM
     
     
    Hello,

    I have the same problem with TFS , i erased workitems with the destroywi command and my tswa now gives me the error : TF26198: The work item does not exist, or you do not have permission to access it.

    I had follow the steps described by martin but unfortunately it seems that it doesn't work.

    ps: when i change project within the tswa for other project i don't have problem viewing them, only within the project that i erased workitems i cannot do anything.


    Thank you in advance

    Stephane can you give more details about the steps you did ?
  • Wednesday, December 09, 2009 9:45 AM
     
     

    Martins answer is not the correct , i have done exactly what he proposed and nothing changed !


    Please if anybody knows how can i solve this issue it will mean a great deal to me since my department cannot work on TSWA


    Thank you



    Ps:To make an addition

    Only my profile is not able to see the page , even after i stop the app pool and deleted the cashe from server side
  • Monday, December 14, 2009 9:57 AM
     
     Proposed Answer
    I found the solution and i am posting it for future reference ...



    After deleting a workitem with the command tftp :

    tfpt destroywi /server:tfsservername /workitemid:value1[,value2,...] [/noprompt]


    if the first screen of tswa doesn't work  then on the right top  click on the Settings button.
    Click  Profile and then Selected projects , save again the projects .


    Next time you will reload the page it will be fine.


    I think is what stephane did !

    • Proposed As Answer by e-cyprus Monday, December 14, 2009 9:57 AM
    •  
  • Monday, February 15, 2010 5:58 AM
     
     
    Thanks Cyprus,

    I got the same problem, I have followed above steps you mentioned and the problem solved.

    But interestingly when we logged in different user account got the same account access denied message.

    Is there any work around to solve this for all user accounts. ?
  • Tuesday, February 23, 2010 9:55 AM
     
     
    I had the same problem and solved it by opening the UI that allows you to select which project you want to work on with web access, clear the checkbox that correspond to the project with the access denied bug, save, reopen the dialog, reselect the project, save.
    IT's OKay thanks for this TIP :)
  • Wednesday, July 20, 2011 8:49 PM
     
     
    I found the solution and i am posting it for future reference ...



    After deleting a workitem with the command tftp :

    tfpt destroywi /server:tfsservername /workitemid:value1[,value2,...] [/noprompt]


    if the first screen of tswa doesn't work  then on the right top  click on the Settings button.
    Click  Profile and then Selected projects , save again the projects .


    Next time you will reload the page it will be fine.


    I think is what stephane did !

    This worked for me, thank you for sharing!