vps报错Unable to make the session state request
更新时间:2011年12月27日 22:44:22 作者:
客户反应vps报错Unable to make the session state request,我司技术将解决方法总结如下,希望可以帮助更多的人解决这个问题。
客户反应vps报错Unable to make the session state request,我司技术将解决方法总结如下,希望可以帮助更多的人解决“Unable to make the session state request”难题。
一、【Unable to make the session state request问题】
页面打开时,出现如果下错误.处理方法.或者登陆后不久,频繁的返回到了登录界面
登录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.
二、【Unable to make the session state request解决方案】
开启ASP.NET State Service服务,把它设成自动。再在web.config中的<system.web>下加一行
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" timeout="20"/>,
具体操作如下:
1、选择管理工具->服务,找到ASP.NET State Service,点开后选择启动,并将启动类型设为自动
2、 将web.config打开,会看到有一行是
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" timeout="20"/>,
如果没有,请在<system.web>的下一行添加,再将其中的InProc改为StateServer,保存即可。
vps报错Unable to make the session state request解决方案整理于网络,如果你们有更好的解决方法请联系我们
一、【Unable to make the session state request问题】
页面打开时,出现如果下错误.处理方法.或者登陆后不久,频繁的返回到了登录界面
登录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.
二、【Unable to make the session state request解决方案】
开启ASP.NET State Service服务,把它设成自动。再在web.config中的<system.web>下加一行
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" timeout="20"/>,
具体操作如下:
1、选择管理工具->服务,找到ASP.NET State Service,点开后选择启动,并将启动类型设为自动
2、 将web.config打开,会看到有一行是
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" timeout="20"/>,
如果没有,请在<system.web>的下一行添加,再将其中的InProc改为StateServer,保存即可。
vps报错Unable to make the session state request解决方案整理于网络,如果你们有更好的解决方法请联系我们
相关文章
为应用程序池 ''DefaultAppPool'' 提供服务的进程关闭时间超过了限制
为应用程序池 'DefaultAppPool' 提供服务的进程关闭时间超过了限制服务器经常产生“应用程序池 'DefaultAppPool' 提供服务的进程关闭时间超过了限制。进程 ID 是 '2068'。”的错误,导致iis处于假死状态,经了解是IIS应用程序池的设置问题2011-11-11
windows server 2019开启iis服务器+tp5.1的完美配置运行流程
这篇文章主要介绍了windows server 2019开启iis服务器+tp5.1的配置,本文通过图文并茂的形式给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下2022-03-03
Windows 2012/IIS8多网站用相同端口部署多张证书(SNI)
Windows Server 2012 中有一项新增的功能 —— 服务器名称标识符(SNI),这个功能可以简化管理并改善SSL的可扩展能力。2018-03-03
基于Win2008 R2的WSFC实现 SQL Server 2012高可用性组(AlwaysOn Group)
SQL Server 2012高可用性组在实现过程中较之早起的SQL Server故障转移群集来讲,不依赖特别提供共享存储磁盘阵列,每个节点独立存储一份数据库的副本2013-06-06


最新评论