Click here to Skip to main content
15,909,498 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
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.
getting this error while i switched from inproc to state server what to do?
how can i know where the error is from ?

i had placed [serializable]attribute in DAL file still getting same error?
Thanks
Srinivas
Posted
Comments
Sergey Alexandrovich Kryukov 9-Jul-12 19:33pm    
Not clear. How about some code sample?
--SA
srinvas 10-Jul-12 10:53am    
my question is when we change from inproc to outproc which session objects need to be serialized

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900