Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi guys,

im getting error n i dont why,


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

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: The state information is invalid for this page and might be corrupted.

Source Error: 


[No relevant source lines]

Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\567554a3\f5dd5747\App_Web_volwwnqi.12.cs    Line: 0 

Stack Trace: 


[ViewStateException: Invalid viewstate. 
	Client IP: ::1
	Port: 
	Referer: http://localhost:50823/AppUsers.aspx
	Path: /AppUsers.aspx
	User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
	ViewState: /wEdAAr+Udi464n+SjySO2dZ+jgzZ5a4Aw1QmlMnKLMs2YXPlqXtBiYuVKLM7cHSr+9L1MmyQ+gyVH9nOjPCo/zuOnLoRkaSXwR+O5bvPH0rxl+aUmpW38IWfpxKoNxsiI1PuXi7jHCQflOLUv5LwDPwz9fCCl0HGXXBdvlRigbuGKdjd9L5tCCCbEpJ9MEIk9LsGJ7OStsqSTDros8TVo7Av3+WEKO/pudcmOrmntwVJhVR8uhDwGiWrgPYuZpLe5tPLco=]

[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.ClientScriptManager.EnsureEventValidationFieldLoaded() +9872831
   System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) +63
   System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) +111
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +29
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6704
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +245
   System.Web.UI.Page.ProcessRequest() +72
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +58
   ASP.appusers_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\567554a3\f5dd5747\App_Web_volwwnqi.12.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69


please help me

thanks
Posted
Updated 11-Jul-22 21:50pm

HI please refer this link, hope this will help:


The state information is invalid for this page and might be corrupted.[^]
 
Share this answer
 
Comments
abdul subhan mohammed 12-Jan-16 1:59am    
Thank you v.much dude
deepankarbhatnagar 12-Jan-16 2:02am    
Your welcome bro..
I had just add below 3 lines in the web.config file and it is working find for me.

ASP.NET
<sessionState mode="InProc" cookieless="true" timeout="3000" />
<pages enableSessionState="false" />
<customErrors mode="Off" />
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900