首页服务器Web服务器 vps报错Unable to make the session state request

vps报错Unable to make the session state request

客户反应vps报错Unable to make the session state request,我司技术将解决方法总结如下,希望可以帮助更多的人解决“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中的下加一行

具体操作如下:
1、选择管理工具->服务,找到ASP.NET State Service,点开后选择启动,并将启动类型设为自动
2、 将web.config打开,会看到有一行是

如果没有,请在的下一行添加,再将其中的InProc改为StateServer,保存即可。
vps报错Unable to make the session state request解决方案整理于网络,如果你们有更好的解决方法请联系我们
本文来自网络,不代表1号站长-站长学院|资讯交流平台立场。转载请注明出处: https://www.1cn.cc/fwq/web/7904.html
上一篇php.ini文件配置好后,zend路径也全部配置正确,但是phpinfo()还显示没有zend信息
下一篇 win2003 服务器超出最大连接+强制重启服务器(方法)
admin

作者: admin

这里可以再内容模板定义一些文字和说明,也可以调用对应作者的简介!或者做一些网站的描述之类的文字或者HTML!

为您推荐

评论列表()

    联系我们

    联系我们

    0898-88888888

    在线咨询: QQ交谈

    邮箱: email@wangzhan.com

    工作时间:周一至周五,9:00-17:30,节假日休息

    关注微信
    微信扫一扫关注我们

    微信扫一扫关注我们

    关注微博
    返回顶部