Unable to serialize the session state

后端 未结 8 1746
一生所求
一生所求 2020-12-01 23:06

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         


        
8条回答
  •  情话喂你
    2020-12-01 23:51

    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):

    [Serializable]
    public partial class Gebruiker {}
    

提交回复
热议问题