locked
After Windowsupdate I start getting a lot of warnings RRS feed

  • Question

  • After another administrator updated my tfs server today (single machine installation) I start getting a lot of warnings from TSWA. The TSWA is installed on the same machine as the TFS and worked flawlessly before the round of windowsupdate from today.

    They all have (nearly) the same content:

    Code Snippet


    TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
    Technical Information (for the administrative staff):
    Date (UTC): 16.07.2008 12:21:59
    Machine: SVRTSS01
    Application Domain: /LM/W3SVC/1970041173/Root-1-128606839193427914
    Assembly: Microsoft.TeamFoundation.WebAccess, Version=9.0.2889.31253, Culture=neutral, PublicKeyToken=31bf3856ad364e35; v2.0.50727
    Process Details:
    Process Name: w3wp
    Process Id: 3932
    Thread Id: 1
    Account name: NT AUTHORITY\NETWORK SERVICE

    Detailed Message: An unhandled exception occurred.
    Web Request Details
    Url: http://svrtss01:8081/UI/Pages/WorkItems/QueryResult.aspx?pid=1420&qid=63e2f9af-419a-4ea8-8241-00845f2ba765 [method: POST]
    User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    Headers: Cache-Control=no-cache&Connection=Keep-Alive&Content-Length=2978&Content-Type=application%2fx-www-form-urlencoded&Accept=*%2f*&Accept-Encoding=gzip%2c+deflate&Accept-Language=de%2cen-gb%3bq%3d0.5&Cookie=ASP.NET_SessionId%3dwtlufee5o5l3dh55ywkanyrh&Host=svrtss01%3a8081&Referer=http%3a%2f%2fsvrtss01%3a8081%2fUI%2fPages%2fWorkItems%2fQueryResult.aspx%3fpid%3d1420%26qid%3d63e2f9af-419a-4ea8-8241-00845f2ba765&User-Agent=Mozilla%2f4.0+(compatible%3b+MSIE+6.0%3b+Windows+NT+5.1%3b+SV1)
    Path: /UI/Pages/WorkItems/QueryResult.aspx
    Local Request: False
    Host Address: 10.150.64.137
    User: SVRTSS01\IUSR_SVRTSS01 [authentication type: ]

    Exception Message: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. (type HttpException)

    Exception Stack Trace: at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)
    at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
    at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState)
    at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState)
    at System.Web.UI.HiddenFieldPageStatePersister.Load()
    at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
    at System.Web.UI.Page.LoadAllState()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at ASP.ui_pages_workitems_queryresult_aspx.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Inner Exception Details:

    Exception Message: Invalid viewstate.
    Client IP: 10.150.64.137
    Port: 2589
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    ViewState: /wEPDwUINjQyMjIyOTcPZBYCZg9kFgICAw9kFgICAQ9kFgJmD2QWAmYPZBYGZg9kFgICAQ8WAh4EVGV4dAXOBzx0YWJsZSBjZWxsc3BhY2luZz0iMCIgY2VsbHBhZGRpbmc9IjAiIGNsYXNzPSJtYWluVGFiIj48dHI+PHRkIHN0eWxlPSJ3aWR0aDoxOHB4OyI+PC90ZD48dGQgY2xhc3M9InB0dCI+PGEgY2xhc3M9InB0dCIgaHJlZj0iL0luZGV4LmFzcHg/cGlkPTE0MjAiPjxkaXYgY2xhc3M9InB0dCI+SG9tZTwvZGl2PjwvYT48L3RkPjx0ZCBjbGFzcz0iYXR0Ij48YSBjbGFzcz0iYXR0IiBocmVmPSIvVUkvUGFnZXMvV29ya0l0ZW1zL0FsbFF1ZXJpZXMuYXNweD9waWQ9MTQyMCI+PGRpdiBjbGFzcz0iYXR0Ij5Xb3JrIEl0ZW1zPC9kaXY+PC9hPjwvdGQ+PHRkIGNsYXNzPSJwdHQiPjxhIGNsYXNzPSJwdHQiIGhyZWY9Ii9VSS9QYWdlcy9SZXBvcnRzL0V4cGxvcmVyLmFzcHg/cGlkPTE0MjAiPjxkaXYgY2xhc3M9InB0dCI+UmVwb3J0czwvZGl2PjwvYT48L3RkPjx0ZCBjbGFzcz0icHR0Ij48YSBjbGFzcz0icHR0IiBocmVmPSIvVUkvUGFnZXMvRG9jdW1lbnRzL0V4cGxvcmVyLmFzcHg/cGlkPTE0MjAiPjxkaXYgY2xhc3M9InB0dCI+RG9jdW1lbnRzPC9kaXY+PC9hPjwvdGQ+PHRkIGNsYXNzPSJwdHQiPjxhIGNsYXNzPSJwdHQiIGhyZWY9Ii9VSS9QYWdlcy9TY2MvRXhwbG9yZXIuY... (type ViewStateException)

    Exception Stack Trace:

    Inner Exception Details:

    Exception Message: Unable to validate data. (type HttpException)

    Exception Stack Trace: at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength)
    at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)



    For more information, see Help and Support Center at



    Rootreason for this error seems to ba an ASP.NET 2.0.50727.0 event:
    Event code: 4009
    Event message: Viewstate verification failed. Reason: The viewstate supplied failed integrity check.
    Event time: 7/16/2008 2:21:49 PM
    Event time (UTC): 7/16/2008 12:21:49 PM
    Event ID: 7a6e5a035ce54777841fffb2e60248e0
    Event sequence: 658
    Event occurrence: 45
    Event detail code: 50203

    What can i do to handle this warnings or even better make them go away?

    Wednesday, July 16, 2008 12:39 PM

Answers

  • After 1 1/2 Days the warnings stopped. Ichecked the logs and they seem to have stopped after the worker process got recycled. So i think the warnings had somethinbg to do with old sessions that persisted after the server got restarted. Problem seems to be solved.
    Friday, July 18, 2008 6:10 AM