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

[Solved] Error in StateServer mode

2 Answers 132 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ricard Bertran Vall
Top achievements
Rank 1
Ricard Bertran Vall asked on 02 Nov 2009, 04:56 PM
I'm using Scheduler (Q2 2009), when I try to load it I get the following 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 found in your forum the line that can solve it::
sessionState mode="InProc" in my Web.config,
it works but for me it's not possible use this mode.

How can I use this control with :
sessionState mode="StateServer"

?

Thanks,

Ester




2 Answers, 1 is accepted

Sort by
0
Ricard Bertran Vall
Top achievements
Rank 1
answered on 04 Nov 2009, 08:13 AM
please, any suggestions ??
0
Peter
Telerik team
answered on 04 Nov 2009, 05:25 PM
Hi Ester,

Which forum thread do you refer to? Telerik controls for ASP.NET AJAX do not use the session object. Can you try removing RadScheduler from your page and test if the problem persists?


Greetings,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
Ricard Bertran Vall
Top achievements
Rank 1
Answers by
Ricard Bertran Vall
Top achievements
Rank 1
Peter
Telerik team
Share this question
or