Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef obj

M

Mike Larkin

I am attempting to store my session state via SQL Server...however, one
of my dataset is generating the following error:

Unable to serialize the session state. Please note that
non-serializable objects or MarshalByRef objects are not permitted when
session state mode is 'StateServer' or 'SQLServer'.

I have other datasets that serialize fine. What's the deal? Is there
a size limit? (The other datasets are smaller)

--Thanks!
 
A

Alvin Bruney [MVP - ASP.NET]

most probably, one of the contents that you have in your dataset isn't
serializable. read the error message carefully for a clue

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top