服务器 
首页 > 服务器 > 浏览文章

vps报错Unable to make the session state request

(编辑:jimmy 日期: 2024/9/17 浏览:3 次 )
客户反应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解决方案整理于网络,如果你们有更好的解决方法请联系我们
上一篇:数据自动备份解决方案 图文
下一篇:比较简单实用的WEB安全设置总结
一句话新闻
一文看懂荣耀MagicBook Pro 16
荣耀猎人回归!七大亮点看懂不只是轻薄本,更是游戏本的MagicBook Pro 16.
人们对于笔记本电脑有一个固有印象:要么轻薄但性能一般,要么性能强劲但笨重臃肿。然而,今年荣耀新推出的MagicBook Pro 16刷新了人们的认知——发布会上,荣耀宣布猎人游戏本正式回归,称其继承了荣耀 HUNTER 基因,并自信地为其打出“轻薄本,更是游戏本”的口号。
众所周知,寻求轻薄本的用户普遍更看重便携性、外观造型、静谧性和打字办公等用机体验,而寻求游戏本的用户则普遍更看重硬件配置、性能释放等硬核指标。把两个看似难以相干的产品融合到一起,我们不禁对它产生了强烈的好奇:作为代表荣耀猎人游戏本的跨界新物种,它究竟做了哪些平衡以兼顾不同人群的各类需求呢?
友情链接:杰晶网络 DDR爱好者之家 南强小屋 黑松山资源网 白云城资源网 SiteMap