none
[FormatException: Invalid length for a Base-64 char array.] / [HttpException: The state information is invalid for this page and might be corrupted.] RRS feed

  • Question

  • I am getting the Invalid length issue frequently in my application. Using of SessionPageStatePersister from earlier implementation  hiddenfieldpagestatepersister did not resolve the issue.

    Can any body please help me out?

    [FormatException: Invalid length for a Base-64 char array.]
    at System.Convert.FromBase64String(String s)
    at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
    at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String\ serializedState)
    at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String\ serializedState)
    at System.Web.UI.SessionPageStatePersister.Load()

    [HttpException: The state information is invalid for this page and might be corrupted.]
    at System.Web.UI.SessionPageStatePersister.Load()
    at Telerik.Web.UI.RadSessionPageStatePersister.Load()
    at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
    at System.Web.UI.Page.LoadAllState()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,\ Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,\ Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at ASP.pages_appeal_appealaction_aspx.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Wednesday, December 19, 2012 7:19 AM