Unanswered Work Item Editor State Can Not Be Found

  • Tuesday, February 23, 2010 9:56 AM
     
     

    Hello,

    I've searched throughout the forums and the web, and have seen many discussions on this issue, but none of the suggested workarounds have worked.

    My experience is as follows:
    I'll be working through the Web UI, then (usually after being left idle for some time), when I click on a work item, a new window pops up that displays the higlighted message 'Work Item Editor State Can Not Be Found', with no additional information about the work item.

    My present workaround is to close said window, refresh the main TSWA page (sometimes a few times), and try again.  This usually works, but not always.  The next step is to close the browser window, start a new window, relogon, and then access the work item.

    Needless to say, when this happens continuously throughout the day, the product becomes virtually unusuable.  To indicate the seriousness of this issue, we are considering moving away from TFS :(

    Here are the details of my system:

    Windows Server 2008 SP1
    Team Foundation Server 2008
    Team System Web Access SP1

    The application pools in ASP.NET are:
    TswaPool1
    TswaPool2

    Both .NetFramework v2.0, managed pipline mode = classic, Identity = NetworkService
    Advanced settings indicate request limit 0.
    Maximum Work Processes = 1
    (Should all be default settings).

    I've set Recycling to 600 minutes in the hope that this would help, but no luck.

    I enabled logging and see the following:

    General: [Info, P 1124, T 5100/8, A 12036987, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:45:48.345] Response is redirected to /UI/Pages/WorkItems/EditQuery.aspx?pid=1&state-guid=f2324484-faa6-4a30-8595-a2cdb67af0d6.
    Application: [Info, P 1124, T 5100/8, A 12036987, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:46:15.837] Session Started
    General: [Info, P 1124, T 5100/8, A 12036987, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:46:15.842] Response is redirected to /UI/Pages/Login.aspx?redirect=%2findex.aspx%3fpname%3dSmapper.
    TeamFoundationServer: [Info, P 1124, T 5100/8, A 12036987, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:46:21.805] Creating TeamFoundation Server...
    TeamFoundationServer: [Info, P 1124, T 5100/8, A 12036987, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:46:21.857] TeamFoundation Server Successfully Created.
    TeamFoundationServer: [Info, P 1124, T 5100/8, A 12036987, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:46:21.873] Creating WorkItemStore...
    TeamFoundationServer: [Info, P 1124, T 5100/8, A 12036987, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:46:21.965] WorkItemStore Successfully created.
    General: [Info, P 1124, T 5100/8, A 12036987, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:46:21.965] Response is redirected to /index.aspx?pname=Smapper.
    UserControl: [Verbose, P 1124, T 5100/8, A 12036987, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:46:22.212] Rendering work items assigned to me started.
    UserControl: [Verbose, P 1124, T 5100/8, A 12036987, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:46:22.212] Rendering work items assigned to me finished.
    General: [Info, P 1124, T 5100/8, A 12036987, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:46:31.958] Response is redirected to /UI/Pages/WorkItems/WorkItemEdit.aspx?pid=1&state-guid=99c2585e-76c9-4542-9e09-0964323966eb&oqs=id%3d1137.
    <detail ExceptionMessage="Stored Query is not unique."><details id="600036" xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/faultdetail/03" /></detail>
    Application: [Info, P 1124, T 5100/8, A 12036987, S j2inba55brmdrcaeygmfhpie, 2/23/10 09:47:22.094] Session Started
    General: [Info, P 1124, T 5100/8, A 12036987, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:47:37.176] Response is redirected to /UI/Pages/WorkItems/EditQuery.aspx?pid=1&state-guid=76820ae6-62de-486e-ba3f-c31c96d93a3c.
    General: [Info, P 1124, T 5100/8, A 12036987, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:48:04.212] Response is redirected to /UI/Pages/WorkItems/EditQuery.aspx?pid=1&state-guid=19787231-7d48-43b7-9386-b7c6934902de.
    General: [Info, P 1124, T 5100/8, A 12036987, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:50:52.769] Response is redirected to /UI/Pages/WorkItems/WorkItemEdit.aspx?pid=1&state-guid=d94e712a-eb7c-49b3-974f-1c0bb72b8581&oqs=id%3d1281.
    Application: [Info, P 1124, T 5100/8, A 12036987, S 04itzy450qhwjjaqco242xyb, 2/23/10 09:52:22.171] Session Started
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.789] Session Ended
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.789] Session Ended
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.789] Session Ended
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.789] Session Ended
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.791] Session Ended
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.791] Session Ended
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.791] Session Ended
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.791] Session Ended
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.791] Session Ended
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.791] Session Ended
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.792] Session Ended
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.793] Application 12036987 disposed.
    Application: [Verbose, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.793] CompressionModule diposed for application instance 12036987.
    Application: [Verbose, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.793] ReportWrapperModule diposed for application instance 12036987.
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.793] Application 3736464 disposed.
    Application: [Verbose, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.793] CompressionModule diposed for application instance 3736464.
    Application: [Verbose, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.793] ReportWrapperModule diposed for application instance 3736464.
    Application: [Info, P 1124, T 5100/8, A 0, S 0, 2/23/10 09:52:30.794] Microsoft Team System Web Access stopped processing...
    AppDomain Name: /LM/W3SVC/2064179710/ROOT-1-129113903532336065
    App Domain Id:2
    Application: [Info, P 1124, T 2736/2, A 0, S 0, 2/23/10 09:52:31.046] AppDomain (2)/LM/W3SVC/2064179710/ROOT-1-129113903532336065 unloaded.
    Application: [Info, P 4152, T 4860/3, A 0, S 0, 2/23/10 09:52:34.335] [Microsoft Team System Web Access] Application Starting
    Application: [Info, P 4152, T 4860/3, A 0, S 0, 2/23/10 09:52:34.335] Microsoft Team System Web Access started processing...
    AppDomain Name: /LM/W3SVC/2064179710/ROOT-1-129113923539877307
    App Domain Id:2
    Application: [Verbose, P 4152, T 4860/3, A 47239894, S 0, 2/23/10 09:52:34.358] CompressionModule attached to the application 47239894.
    Application: [Verbose, P 4152, T 4860/3, A 47239894, S 0, 2/23/10 09:52:34.358] ReportWrapperModule attached to the application 47239894.
    Application: [Info, P 4152, T 4860/3, A 47239894, S 0, 2/23/10 09:52:34.398] WebAccess Application initialized... 47239894
    Application: [Info, P 4152, T 4860/3, A 47239894, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:52:34.475] Session Started
    General: [Error, P 4152, T 4860/3, A 47239894, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:52:34.759] { Error occured in page load at /UI/Pages/WorkItems/WorkItemEdit.aspx - /UI/Pages/WorkItems/WorkItemEdit.aspx.


    General: [Error, P 4152, T 4860/3, A 47239894, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:52:34.894] Exception: {
    Exception Message: You are not logged in or session is expired. (type SessionException)

    Exception Stack Trace:    at Microsoft.TeamFoundation.WebAccess.UI.WebAccessPage.OnLoad(EventArgs e)

     }
    General: [Error, P 4152, T 4860/3, A 47239894, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:52:34.894] }
    Application: [Info, P 4152, T 4860/3, A 47239894, S juvih5e3vhi3eb45hjgnoa45, 2/23/10 09:52:40.359] Session Started
    General: [Error, P 4152, T 4860/3, A 47239894, S juvih5e3vhi3eb45hjgnoa45, 2/23/10 09:52:40.389] { Error occured in page load at /UI/Pages/WorkItems/WorkItemEdit.aspx - /UI/Pages/WorkItems/WorkItemEdit.aspx.


    General: [Error, P 4152, T 4860/3, A 47239894, S juvih5e3vhi3eb45hjgnoa45, 2/23/10 09:52:40.390] Exception: {
    Exception Message: You are not logged in or session is expired. (type SessionException)

    Exception Stack Trace:    at Microsoft.TeamFoundation.WebAccess.UI.WebAccessPage.OnLoad(EventArgs e)

     }
    General: [Error, P 4152, T 4860/3, A 47239894, S juvih5e3vhi3eb45hjgnoa45, 2/23/10 09:52:40.390] }
    Application: [Info, P 4152, T 4860/3, A 0, S 0, 2/23/10 09:52:40.390] Session Ended
    Application: [Info, P 4152, T 4860/3, A 47239894, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:52:53.517] Session Started
    General: [Error, P 4152, T 4860/3, A 47239894, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:52:53.520] { Error occured in page load at /UI/Pages/WorkItems/WorkItemEdit.aspx - /UI/Pages/WorkItems/WorkItemEdit.aspx.


    General: [Error, P 4152, T 4860/3, A 47239894, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:52:53.520] Exception: {
    Exception Message: You are not logged in or session is expired. (type SessionException)

    Exception Stack Trace:    at Microsoft.TeamFoundation.WebAccess.UI.WebAccessPage.OnLoad(EventArgs e)

     }
    General: [Error, P 4152, T 4860/3, A 47239894, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:52:53.520] }
    Application: [Info, P 4152, T 4860/3, A 0, S 0, 2/23/10 09:52:53.521] Session Ended
    General: [Info, P 4152, T 4860/3, A 47239894, S 5jqd0255u1ybmtrkzqdz1d45, 2/23/10 09:52:57.434] Response is redirected to /UI/Pages/Login.aspx?redirect=%2fUI%2fPages%2fWorkItems%2fQueryResult.aspx%3fpid%3d1%26qid%3d14ad60ca-9583-42d4-b123-6bb93c795cb3.
    Application: [Info, P 4152, T 4860/3, A 47239894, S juvih5e3vhi3eb45hjgnoa45, 2/23/10 09:53:16.400] Session Started
    General: [Error, P 4152, T 4860/3, A 47239894, S juvih5e3vhi3eb45hjgnoa45, 2/23/10 09:53:16.405] { Error occured in page load at /UI/Pages/WorkItems/QueryResult.aspx - /UI/Pages/WorkItems/QueryResult.aspx.


    General: [Error, P 4152, T 4860/3, A 47239894, S juvih5e3vhi3eb45hjgnoa45, 2/23/10 09:53:16.405] Exception: {
    Exception Message: Session timed out. You are being redirected to the login page. (type SessionException)

    Exception Stack Trace:    at Microsoft.TeamFoundation.WebAccess.UI.WebAccessPage.OnLoad(EventArgs e)

     }
    General: [Error, P 4152, T 4860/3, A 47239894, S juvih5e3vhi3eb45hjgnoa45, 2/23/10 09:53:16.405] }
    Application: [Info, P 4152, T 4860/3, A 0, S 0, 2/23/10 09:53:16.406] Session Ended
    Application: [Info, P 4152, T 4860/3, A 47239894, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:53:57.003] Session Started
    General: [Error, P 4152, T 4860/3, A 47239894, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:53:57.012] { Error occured in page load at /UI/Pages/WorkItems/QueryResult.aspx - /UI/Pages/WorkItems/QueryResult.aspx.


    General: [Error, P 4152, T 4860/3, A 47239894, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:53:57.012] Exception: {
    Exception Message: Session timed out. You are being redirected to the login page. (type SessionException)

    Exception Stack Trace:    at Microsoft.TeamFoundation.WebAccess.UI.WebAccessPage.OnLoad(EventArgs e)

     }
    General: [Error, P 4152, T 4860/3, A 47239894, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:53:57.012] }
    Application: [Info, P 4152, T 4860/3, A 0, S 0, 2/23/10 09:53:57.013] Session Ended
    Application: [Info, P 4152, T 4860/3, A 47239894, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:53:58.089] Session Started
    General: [Error, P 4152, T 4860/3, A 47239894, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:53:58.090] { Error occured in page load at /UI/Pages/WorkItems/WorkItemEdit.aspx - /UI/Pages/WorkItems/WorkItemEdit.aspx.


    General: [Error, P 4152, T 4860/3, A 47239894, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:53:58.090] Exception: {
    Exception Message: You are not logged in or session is expired. (type SessionException)

    Exception Stack Trace:    at Microsoft.TeamFoundation.WebAccess.UI.WebAccessPage.OnLoad(EventArgs e)

     }
    General: [Error, P 4152, T 4860/3, A 47239894, S 2mje0aq0uckywz4530k5h445, 2/23/10 09:53:58.091] }
    Application: [Info, P 4152, T 4860/3, A 0, S 0, 2/23/10 09:53:58.091] Session Ended
    ^C
    C:\Program Files\Microsoft Visual Studio 2008 Team System Web Access\Cache\Tswa>



    Any help would be greatly appreciated.



All Replies

  • Wednesday, February 24, 2010 2:39 AM
    Moderator
     
     
    Hi Anilca,

    Could you try to recycle the cache of TSWA? Stop IIS(ot the TSWA site), delete the content under [C:\Program Files\Microsoft Visual Studio 2008 Team System Web Access\Cache\] on server, and then start the IIS.
    Best regards,
    Ruiz
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com
  • Wednesday, February 24, 2010 8:07 AM
     
     
    I did try this actually.  Note, there is VERY few files (maybe 10) in the cache directory.  But I wrote a script to do this, and the problem persists.

    How many files would you expect to be in the cache directory, for this problem to manifest?
    How often would you think restarting IIS is appropriate?  Doing it too often causes problems with active connections, and not often enough does nothing for the original problem.

  • Saturday, June 12, 2010 11:33 AM
     
     

    What kind of load are you seeing on your TSWA instance? There are known scalability issues as detailed in the Scalability White Paper:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=ee378d7b-45c3-4690-bd06-a060cfa43b06&displaylang=en

     

    While SP1 brought on improvements cache issues still remain albeit to a lesser degree. Set up a script to clear the cache (we used it 3 times per 24 hours), and write failure/success to the event log. To delete the cache you should stop the TSWA application pool otherwise deletion of cache might fail. We ran the script at around 6am, 6pm and at midnight, to maintain operations during working hours.

    Hosting several intances might also be an option, both as a failover and to divert load during peak hours.