G
Guest
Does anyone know how to fix this problem? On form submittal I'm getting the
following error in Visual Studio 2005:
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\v2.0.50727\Temporary ASP.NET
Files\safr\118004fd\203f0603\App_Web_sv3-fnpn.48.cs Line: 0
Stack Trace:
[FormatException: Invalid character in a Base-64 string.]
System.Convert.FromBase64String(String s) +0
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +134
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +30
System.Web.UI.ClientScriptManager.EnsureEventValidationFieldLoaded() +212
[ViewStateException: Invalid viewstate.
Client IP: 127.0.0.1
Port:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727)
ViewState:
/wEWAgKOg/LRDgKN4NHjBij4PKMgzQWEZZkIk8JSlKYY7EC/,/wEWDAKCxZ+jDQKkpuXGBwL69am5BgLh797wDAK1sI/HCgLvjO4YAo3g0eMGAsyw8osKAvWVzI0KAorJ7tsBAq7EpukBAvbp+p0Djowsg+f3etZ7ubdiJW0xlk3WE2Y=
Referer: http://localhost:2732/SAFR/SystemForm.aspx?SystemID=7135
Path: /SAFR/SystemForm.aspx]
[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) +171
System.Web.UI.ViewStateException.ThrowViewStateError(Exception inner,
String persistedState) +37
System.Web.UI.ClientScriptManager.EnsureEventValidationFieldLoaded() +249
System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String
argument) +202
System.Web.UI.Control.ValidateEvent(String uniqueID, String
eventArgument) +83
System.Web.UI.Control.ValidateEvent(String uniqueID) +35
System.Web.UI.HtmlControls.HtmlInputText.LoadPostData(String postDataKey,
NameValueCollection postCollection) +101
System.Web.UI.HtmlControls.HtmlInputText.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +36
System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean
fBeforeLoad) +478
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5915
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) +188
System.Web.UI.Page.ProcessRequest() +112
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +37
System.Web.UI.Page.ProcessRequest(HttpContext context) +135
ASP.systemform_aspx.ProcessRequest(HttpContext context) in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\safr\118004fd\203f0603\App_Web_sv3-fnpn.48.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +401
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +117
following error in Visual Studio 2005:
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\v2.0.50727\Temporary ASP.NET
Files\safr\118004fd\203f0603\App_Web_sv3-fnpn.48.cs Line: 0
Stack Trace:
[FormatException: Invalid character in a Base-64 string.]
System.Convert.FromBase64String(String s) +0
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +134
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +30
System.Web.UI.ClientScriptManager.EnsureEventValidationFieldLoaded() +212
[ViewStateException: Invalid viewstate.
Client IP: 127.0.0.1
Port:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727)
ViewState:
/wEWAgKOg/LRDgKN4NHjBij4PKMgzQWEZZkIk8JSlKYY7EC/,/wEWDAKCxZ+jDQKkpuXGBwL69am5BgLh797wDAK1sI/HCgLvjO4YAo3g0eMGAsyw8osKAvWVzI0KAorJ7tsBAq7EpukBAvbp+p0Djowsg+f3etZ7ubdiJW0xlk3WE2Y=
Referer: http://localhost:2732/SAFR/SystemForm.aspx?SystemID=7135
Path: /SAFR/SystemForm.aspx]
[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) +171
System.Web.UI.ViewStateException.ThrowViewStateError(Exception inner,
String persistedState) +37
System.Web.UI.ClientScriptManager.EnsureEventValidationFieldLoaded() +249
System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String
argument) +202
System.Web.UI.Control.ValidateEvent(String uniqueID, String
eventArgument) +83
System.Web.UI.Control.ValidateEvent(String uniqueID) +35
System.Web.UI.HtmlControls.HtmlInputText.LoadPostData(String postDataKey,
NameValueCollection postCollection) +101
System.Web.UI.HtmlControls.HtmlInputText.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +36
System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean
fBeforeLoad) +478
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5915
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) +188
System.Web.UI.Page.ProcessRequest() +112
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +37
System.Web.UI.Page.ProcessRequest(HttpContext context) +135
ASP.systemform_aspx.ProcessRequest(HttpContext context) in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\safr\118004fd\203f0603\App_Web_sv3-fnpn.48.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +401
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +117