This is a migrated thread and some comments may be shown as answers.

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

1 Answer 95 Views
Compression
This is a migrated thread and some comments may be shown as answers.
Neerajan
Top achievements
Rank 1
Neerajan asked on 19 Dec 2012, 07:56 AM
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)

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 21 Dec 2012, 01:56 PM
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.
Tags
Compression
Asked by
Neerajan
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or