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
I had just add below 3 lines in the web.config file and it is working find for me.
<sessionState mode="InProc" cookieless="true" timeout="3000" /> <pages enableSessionState="false" /> <customErrors mode="Off" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)