转: 解决【Unable to make the session state request to the session state server】

错误描述:

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.

错误原因:

ASP.Net State Service服务未启动。

解决办法:
Administrative Tools -> Services -> make ASP.NET State Service started.

打开windows 服务,找到  

建议将Startup type设置成Automatic(Delayed Start)

原文地址:https://www.cnblogs.com/yachao1120/p/10034087.html

时间: 2024-09-28 04:22:33

转: 解决【Unable to make the session state request to the session state server】的相关文章

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, p

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, p

Android 工程报错解决 Unable to resolve target 'android-17'

转自:http://www.cnblogs.com/csulennon/p/3705177.html 换了系统后,重新安装了Android SDK和ADT插件,导入之前的工作空间.居然发现所有的Android工程都报错了. 我之前的SDK版本是用的17,升级后用的是19. 1: [2014-05-03 14:56:25 - ThinkBlink] Unable to resolve target 'android-17' 2: [2014-05-03 14:56:26 - Game2048Pub

解决org.apache.shiro.session.UnknownSessionException: There is no session with id的问题

一.背景 最近在整合了Spring+Shiro+Redis实现tomcat集群session共享的问题之后,发布以后运行以后发现老是会出现:org.apache.shiro.session.UnknownSessionException: There is no session with id [xxxx]的问题,具体问题如下截图: 二.出现这个问题的原因 只所以出现这个问题是因为在shiro的DefaultWebSessionManager类中,默认Cookie名称是JSESSIONID,这样

解决在XXXXService中访问session、request、params、servletcontext等等问题

在最近的开发过程中,遇到了在service中访问session.request.params等对象中的一些内容,解决方法如下 import org.codehaus.groovy.grails.web.util.WebUtilsimport org.springframework.web.context.request.RequestContextHolder class WebUtilTools {    def static getRequest(){        def webUtils

小米手机Root的过程及解决Unable to get view server version from device问题

注:解决Unable to get view server version from device,也要先进行Root,以下先介绍root过程 一.小米手机Root过程 1.首先要在手机上设置小米账号,位于设置--小米账号 2.登录http://www.miui.com/,在网页的右上角有一个“解锁”菜单,如下图红色方框 图1 3.用在手机上设置的账号或者生成的用户ID及密码登录,申请小米账号解锁权限,3天左右可以收到短信 4.收到短信后,登录短信中提示网址http://www.miui.com

解决 Unable to load DLL 'OraOps9.dll': 找不到指定的模块。 (Exception from HRESULT: 0x8007007E)

这个问题网上的答案是把oracle的home文件夹权限变为完全控制,然而并没有好用,还有一种方法是在编写的程序的config文件加入 <runtime> <legacyCorruptedStateExceptionsPolicy enabled="true"/> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly>

Windows 8 Cython 的配置(解决Unable to find vcvarsall.bat问题)

关键是安装之前配置编译器. 1.下载MinGW 编译器 http://www.mingw.org/download.shtml 2.把编译器路径(例如C:\Program Files (x86)\CodeBlocks\MinGW\bin)加入环境变量列表 3.Python路径(例如C:\Python34\Lib\distutils)里面新建一个distutils.cfg文件,内容为以下两行: [build] compiler = mingw32 4.安装Cython.比如通过pip instal

springboot shiro 前后端分离,解决跨域、过虑options请求、shiro管理session问题、模拟跨域请求

一.解决跨域.过虑options请求问题 1.创建过虑类 import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import javax.servlet.*; import javax.servlet.annotation.WebFilter; import javax.servlet.http.HttpServletRequest; im