Groups | Blog | Home
all groups > asp.net > february 2008 >

asp.net : Re: Session error



George Ter-Saakov
2/12/2008 4:37:49 PM
Well, Error is pretty much is self-explanatory....
The object you put into session is non-serializable.

I can not tell you why.. Are you keeping some sort of File objects or
Database connection in Session?

George.

[quoted text, click to view]

Lars
2/12/2008 9:10:18 PM
Hi

I get the following error when I try to access the config page for my local
document. Does any one know why?

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.


Lars

AddThis Social Bookmark Button