Server Error in '/虚拟目录名称' application②

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

图 1-1

2、在“Windows任务管理器”-“服务”选项卡-点击“服务”(如图1-2)

图 1-2

3、在“服务(本地)”中找到报错提示的“ASP.NET State Service”服务。

图 1-3

4、在“ASP.NET State Service”服务位置右键点击-属性(如图1-4)。

图 1-4

5、在“ASP.NET State Service的属性”窗口-把“启动类型”选择为“自动”,“服务状态”选择为“启用”,修改完毕以后点击“启用”,再重新访问即可正常登录。

图 1-5
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容