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

Unable to serialize the session state

1 Answer 128 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 04 Sep 2010, 05:37 AM
I am generating a reporting dynamically which includes a gantt chart (dynamically creating the gantt chart along with the data - series). The report runs fine on my development server. However, when I promote the report to production, I receive 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.

**************************************************************************************************************************************************************************

The site is setup to use "SQLServer" Session mode. And, I noticed in some of the very old posts to this forum, that this was a problem with early versions of telerik reporting. I am using the latest version and still seeing this problem. Is there a work-around besides going back to "InProc" session mode?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 06 Sep 2010, 01:57 PM
Hello Adam,

One of the possible reasons for the problem is when a class which cannot be serialized binary is used for a data source. It could be also another problem but to investigate it we will need a runnable project which reproduces the issue or the complete stack trace of the exception. If you would like to send us a project you should open a support ticket for this.

Kind regards,
Chavdar
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
General Discussions
Asked by
Adam
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Share this question
or