Server Error in '/虚拟目录名称' application
提示:Unable to make the session state request to the session state server.Please ensure that the ASP.NET State service is started and that the client and server ports are the same. If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection.If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '127.0.0.1' as the server name.
1、开始-运行-输入taskmgr.exe回车(如图1-1)。
2、在“Windows任务管理器”-“服务”选项卡-点击“服务”(如图1-2)
3、在“服务(本地)”中找到报错提示的“ASP.NET State Service”服务。
4、在“ASP.NET State Service”服务位置右键点击-属性(如图1-4)。
5、在“ASP.NET State Service的属性”窗口-把“启动类型”选择为“自动”,“服务状态”选择为“启用”,修改完毕以后点击“启用”,再重新访问即可正常登录。