Unable to serialize the session state

后端 未结 8 1737
一生所求
一生所求 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:59

    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 :

提交回复
热议问题