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

简介: Server Error in '/虚拟目录名称' application 提示:Unable to make the session state request to the session state server.

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.

img_c014a0c6207865aa6bc38f6008e1e05f.png
报错截图

1、开始-运行-输入taskmgr.exe回车(如图1-1)。

img_4a9303f55d64676cad400988155def51.png
图 1-1

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

img_1c8075554a9f9b4024630608cf043bb0.png
图 1-2

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

img_50344f354d0acc1bb7083896e54d99db.png
图 1-3

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

img_cb605357038a3d4c79bc060dcba46a5d.png
图 1-4

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

img_22ad29d10495c4843ae1e31b4523ea38.png
图 1-5
目录
相关文章
|
17天前
|
网络协议 Java Shell
java spring 项目若依框架启动失败,启动不了服务提示端口8080占用escription: Web server failed to start. Port 8080 was already in use. Action: Identify and stop the process that’s listening on port 8080 or configure this application to listen on another port-优雅草卓伊凡解决方案
java spring 项目若依框架启动失败,启动不了服务提示端口8080占用escription: Web server failed to start. Port 8080 was already in use. Action: Identify and stop the process that’s listening on port 8080 or configure this application to listen on another port-优雅草卓伊凡解决方案
53 7
|
8月前
|
Java
SpringBoot配置-配置文件分类,server.port修改端口,自定义修改配置内容
SpringBoot配置-配置文件分类,server.port修改端口,自定义修改配置内容
|
网络协议 网络安全 数据安全/隐私保护
FileZilla Server目录显示失败的处理方法
FileZilla Server目录显示失败的处理方法
668 0
FileZilla Server目录显示失败的处理方法
|
Java 应用服务中间件 开发者
server.xml 元素的介绍| 学习笔记
快速学习 server.xml 元素的介绍,介绍了 server.xml 元素的介绍系统机制, 以及在实际应用过程中如何使用。
|
Java 前端开发
JSP无法加载静态资源:Failed to load resource: the server responded with a status of 404 ()
最近在用前端框架做javaweb开发的时候,总是遇到静态资源无法正常加载的bug,问题如下图 bug 原因是在经过servletDispatcher转发时被它内置的过滤器给拦截了,引入文件是这样的 问题源 解决方法: 1、在...
62794 2
|
PHP
iis 访问HTTP 错误 500.0 - Internal Server Error无法在<fastCGI>应用程序配置中找到<handler> scriptProcessor
iis 访问HTTP 错误 500.0 - Internal Server Error无法在应用程序配置中找到 scriptProcessor
12222 0