Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > 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'.

Reply
Thread Tools

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'.

 
 
Mike Larkin
Guest
Posts: n/a
 
      05-19-2005
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!

 
Reply With Quote
 
 
 
 
Alvin Bruney [MVP - ASP.NET]
Guest
Posts: n/a
 
      05-23-2005
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
"Mike Larkin" <> wrote in message
news: oups.com...
>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!
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to serialize the session state. Ross Culver ASP .Net 2 08-08-2007 02:00 PM
Unable to serialize the session state Abi ASP .Net 4 07-13-2006 07:59 PM
Unable to serialize the session state tshad ASP .Net 6 04-20-2006 07:12 PM
Unable to serialize the session state js ASP .Net 1 01-25-2006 12:34 AM
Unable to serialize the session state. Bill L ASP .Net 1 02-17-2004 12:32 AM



Advertisments