View Full Version : Invalid ViewState

12-13-2006, 10:16 PM
I haven't found much about this on the web. Please Help!


The state information is invalid for this page and might be corrupted.

Stack Trace:

[HttpException (0x80004005): The state information is invalid for this page and might be corrupted.]
System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +116
System.Web.UI.HiddenFieldPageStatePersister.Load() +240
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83
System.Web.UI.Page.LoadAllState() +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.admin_addsaleitem_aspx.ProcessRequest(HttpContext context) +29
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


12-13-2006, 10:32 PM
Can't say I've ran into that one before, what solutions have you tried? First hit that came up is:

Let us know, good luck;

12-14-2006, 03:19 PM
Brando, Thanks for the help. I tried all of the fixes posted on Microsoft and nothing worked. So, I went ahead and changed my viewstates to sessions. In my opinion, it's something configured wrong on my server. There's no possible way that the viewstate could of been corrupt or invalid. I even copied one of Microsoft's examples for viewstate, ran it, and got the same error. Sorry for those who may get the same error. My advice, don't waste your time trying to figure it out. Just use the Session.