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
Based on the code you posted: that class is generated as partial, so all you need to do is add another partial definition like this (in the same namespace as the generated partial class, of course):
partial
[Serializable] public partial class Gebruiker {}