相关疑难解决方法(0)

无法序列化会话状态

将我的应用程序放在Web服务器上并尝试"登录"时出现以下错误:

Server Error in '/' Application.
Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where …
Run Code Online (Sandbox Code Playgroud)

c# asp.net session

31
推荐指数
2
解决办法
7万
查看次数

标签 统计

asp.net ×1

c# ×1

session ×1