[InvalidCastException: Specified cast is not valid.]/[HttpException: The state information is invalid for this page and might be corrupted.]

2 posts, 0 answers
  1. Neerajan
    Neerajan avatar
    10 posts
    Member since:
    Dec 2011

    Posted 19 Dec 2012 Link to this post

    I am using the RadSessionPageStatePersister approach for storing t he viewstate in session and I am getting the following error. Please help me out.

    [InvalidCastException: Specified cast is not valid.]

    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.default_aspx.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
  2. Martin
    Admin
    Martin avatar
    811 posts

    Posted 21 Dec 2012 Link to this post

    Hello Neerajan,

    I have already replied to the other forum thread that you have opened on the same topic. To avoid duplicate posts I would suggest that we continue our communication there.

    Kind regards,
    Martin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top