SpeedBWild
Programmer
I have a gridview which I populate with mostly integer data. When the use clicks the edit link I replace the label with dropdowns which are populated from a datatable. I will have up to 27 rows of data for this gridview with no more than 15 columns of data. Of the 15 columns all will be dropdown boxes except for two. Any idea how to get around this issue?
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: source.aspx.863d2cba.x4vyxvb-.0.cs Line: 0
Stack Trace:
[EndOfStreamException: Unable to read beyond the end of the stream.]
System.IO.BinaryReader.ReadByte() +12696898
System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader) +109
System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader) +371
System.Web.UI.ObjectStateFormatter.Deserialize(Stream inputStream) +169
[ArgumentException: The serialized data is invalid.]
System.Web.UI.ObjectStateFormatter.Deserialize(Stream inputStream) +11271016
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +408
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +60
System.Web.UI.HiddenFieldPageStatePersister.Load() +173
[ViewStateException: Invalid viewstate.
Client IP: ::1
Port: 13755
Referer: User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
ViewState: Removed data
[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) +177
System.Web.UI.HiddenFieldPageStatePersister.Load() +11282337
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +11358007
System.Web.UI.Page.LoadAllState() +56
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11352034
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11351550
System.Web.UI.Page.ProcessRequest() +269
System.Web.UI.Page.ProcessRequest(HttpContext context) +167
ASP.mypage_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\site\eede444a\6620da50\App_Web_mypage.aspx.863d2cba.x4vyxvb-.0.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270
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: source.aspx.863d2cba.x4vyxvb-.0.cs Line: 0
Stack Trace:
[EndOfStreamException: Unable to read beyond the end of the stream.]
System.IO.BinaryReader.ReadByte() +12696898
System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader) +109
System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader) +371
System.Web.UI.ObjectStateFormatter.Deserialize(Stream inputStream) +169
[ArgumentException: The serialized data is invalid.]
System.Web.UI.ObjectStateFormatter.Deserialize(Stream inputStream) +11271016
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +408
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +60
System.Web.UI.HiddenFieldPageStatePersister.Load() +173
[ViewStateException: Invalid viewstate.
Client IP: ::1
Port: 13755
Referer: User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
ViewState: Removed data
[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) +177
System.Web.UI.HiddenFieldPageStatePersister.Load() +11282337
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +11358007
System.Web.UI.Page.LoadAllState() +56
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11352034
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11351550
System.Web.UI.Page.ProcessRequest() +269
System.Web.UI.Page.ProcessRequest(HttpContext context) +167
ASP.mypage_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\site\eede444a\6620da50\App_Web_mypage.aspx.863d2cba.x4vyxvb-.0.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270