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

Unable to serialize session state

1 Answer 133 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 20 Oct 2010, 05:18 PM
I need to use StateServer mode for session state in my application, but doing so returns the error: "Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode."

I'm using the .cs example code from \Telerik\RadControls for ASP.NET AJAX Q2 2010\Live Demos\Grid\Examples\Programming\DragAndDrop folder.  Is there any way to get this code to work using StateServer sessionState mode rather than InProc mode?

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 26 Oct 2010, 01:48 PM
Hello David,

I suppose you are trying to store controls in Session. If this is so, please examine the following forum thread:
Error : Unable to serialize the session state

Let me know if I'm missing something.

Best regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or