When putting my application on a web server and trying to \'log in\' I get the following error:
Server Error in \'/\' Application. Unable to serialize the se
If SessionState mode = "SQLServer" then you have to use [Serializable()] public partial class Gebruiker .
otherwise you have to change your SessionState mode to "Inproc" Example :