财贸管家婆行业管家婆常见问题程序猿阵线联盟-汇总各类技术干货

Server Error in '/虚拟目录名称' applic

2017-08-01  本文已影响0人  行业

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
上一篇 下一篇

猜你喜欢

热点阅读