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!
>