Unable to serialize the session state,

Posts   
 
    
bjones
User
Posts: 22
Joined: 13-Feb-2004
# Posted on: 23-Jul-2007 18:46:13   

I just started getting this exception in my development environment:[

SerializationException: The type Get_Benefits.DatabaseSpecific.DataAccessAdapter in Assembly Get_BenefitsDBSpecific, Version=1.0.2757.24715, Culture=neutral, PublicKeyToken=null is not marked as serializable.]

Anyone know why IIS thinks that the DataAccessAdapter is not serializable?

This application is in production. I can deploy and run it without experiencing this error on other machines.

Specifics: LLBLGen version - 1.0.2005.1
Visual Studio 2003, .Net Framework 1.1 Session State = SQLServer

Thanks,

Bob

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39910
Joined: 17-Aug-2003
# Posted on: 23-Jul-2007 19:08:23   

IIS thinks that because it's right: DataAccessAdapter isn't serializable, because it contains a live, open connection and (could) transaction.

Frans Bouma | Lead developer LLBLGen Pro