<system.web>
<sessionState mode='StateServer' stateConnectionString='tcpip=127.0.0.1:42424' sqlConnectionString='data source=127.0.0.1;Trusted_Connection=yes' timeout='180'/>
</system.web>
需要设置的session的类我也加上了[Serializable]
确定ASP.NET State Service也开了
但是登录逻辑执行完还是报500,请问是什么原因?