B
Brad
I have an intranet app that has just started sporadically getting the
following error
"The viewstate is invalid for this page and might be corrupted."
By sproadic I mean 3-4 times during the past two days out of 100's of hits.
The error just started yesterday and this app has been running for quite
some time without this error and has not been updated just before or after
the error started.
Reseaching this error I've checked the following:
I found the following KB article however it references framework 1.0 and
I'm using 1.1 (and VS 2003)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;323744
I am not setting enableViewStateMac in the web config so it is
defaulting to True from the default machine config setting
Here is more detail from a stack when the error occurs
########## System.Web.HttpUnhandledException ##########
Exception of type System.Web.HttpUnhandledException was thrown.
Stack
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionSte
p.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
########## System.Web.HttpException ##########
The viewstate is invalid for this page and might be corrupted.
Stack
at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
at System.Web.UI.Page.LoadPageViewState()
at System.Web.UI.Page.ProcessRequestMain()
=========================================================
Brad
following error
"The viewstate is invalid for this page and might be corrupted."
By sproadic I mean 3-4 times during the past two days out of 100's of hits.
The error just started yesterday and this app has been running for quite
some time without this error and has not been updated just before or after
the error started.
Reseaching this error I've checked the following:
I found the following KB article however it references framework 1.0 and
I'm using 1.1 (and VS 2003)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;323744
I am not setting enableViewStateMac in the web config so it is
defaulting to True from the default machine config setting
Here is more detail from a stack when the error occurs
########## System.Web.HttpUnhandledException ##########
Exception of type System.Web.HttpUnhandledException was thrown.
Stack
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionSte
p.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
########## System.Web.HttpException ##########
The viewstate is invalid for this page and might be corrupted.
Stack
at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
at System.Web.UI.Page.LoadPageViewState()
at System.Web.UI.Page.ProcessRequestMain()
=========================================================
Brad