vps報(bào)錯(cuò)Unable to make the session state request
一、【Unable to make the session state request問(wèn)題】
頁(yè)面打開(kāi)時(shí),出現(xiàn)如果下錯(cuò)誤.處理方法.或者登陸后不久,頻繁的返回到了登錄界面
登錄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解決方案】
開(kāi)啟ASP.NET State Service服務(wù),把它設(shè)成自動(dòng)。再在web.config中的<system.web>下加一行
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" timeout="20"/>,
具體操作如下:
1、選擇管理工具->服務(wù),找到ASP.NET State Service,點(diǎn)開(kāi)后選擇啟動(dòng),并將啟動(dòng)類(lèi)型設(shè)為自動(dòng)
2、 將web.config打開(kāi),會(huì)看到有一行是
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" timeout="20"/>,
如果沒(méi)有,請(qǐng)?jiān)?lt;system.web>的下一行添加,再將其中的InProc改為StateServer,保存即可。
vps報(bào)錯(cuò)Unable to make the session state request解決方案整理于網(wǎng)絡(luò),如果你們有更好的解決方法請(qǐng)聯(lián)系我們
相關(guān)文章
用Mcafee將Windows打造一個(gè)相對(duì)安全的服務(wù)器環(huán)境
安全問(wèn)題永遠(yuǎn)是個(gè)解不開(kāi)的結(jié),道高一尺魔高一丈,Linux比Windows更安全、Windows漏洞百出等等說(shuō)法并不完全準(zhǔn)確,任何系統(tǒng)都可以打造出一個(gè)相對(duì)安全的環(huán)境,今天就給大家簡(jiǎn)單分享一下最近給幾個(gè)朋友做的服務(wù)器安全方案2011-11-11
為應(yīng)用程序池 ''DefaultAppPool'' 提供服務(wù)的進(jìn)程關(guān)閉時(shí)間超過(guò)了限制
為應(yīng)用程序池 'DefaultAppPool' 提供服務(wù)的進(jìn)程關(guān)閉時(shí)間超過(guò)了限制服務(wù)器經(jīng)常產(chǎn)生“應(yīng)用程序池 'DefaultAppPool' 提供服務(wù)的進(jìn)程關(guān)閉時(shí)間超過(guò)了限制。進(jìn)程 ID 是 '2068'?!钡腻e(cuò)誤,導(dǎo)致iis處于假死狀態(tài),經(jīng)了解是IIS應(yīng)用程序池的設(shè)置問(wèn)題2011-11-11
windows?server?2019開(kāi)啟iis服務(wù)器+tp5.1的完美配置運(yùn)行流程
這篇文章主要介紹了windows?server?2019開(kāi)啟iis服務(wù)器+tp5.1的配置,本文通過(guò)圖文并茂的形式給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2022-03-03
Windows 2012/IIS8多網(wǎng)站用相同端口部署多張證書(shū)(SNI)
Windows Server 2012 中有一項(xiàng)新增的功能 —— 服務(wù)器名稱(chēng)標(biāo)識(shí)符(SNI),這個(gè)功能可以簡(jiǎn)化管理并改善SSL的可擴(kuò)展能力。2018-03-03
基于Win2008 R2的WSFC實(shí)現(xiàn) SQL Server 2012高可用性組(AlwaysOn Group)
SQL Server 2012高可用性組在實(shí)現(xiàn)過(guò)程中較之早起的SQL Server故障轉(zhuǎn)移群集來(lái)講,不依賴(lài)特別提供共享存儲(chǔ)磁盤(pán)陣列,每個(gè)節(jié)點(diǎn)獨(dú)立存儲(chǔ)一份數(shù)據(jù)庫(kù)的副本2013-06-06
php對(duì)外發(fā)包引發(fā)服務(wù)器崩潰的終極解決方法分享[推薦]
據(jù)星外科技原創(chuàng)ip策略,總結(jié)DEDECMS php對(duì)外發(fā)包引發(fā)服務(wù)器崩潰的終極解決方法,希望可以幫助客戶解決服務(wù)器問(wèn)題,讓網(wǎng)站運(yùn)行的更好2011-12-12
簡(jiǎn)單十大步驟保護(hù)IIS Web服務(wù)器的安全
此文章主要介紹的是保護(hù)IIS Web服務(wù)器安全只需要簡(jiǎn)單的10個(gè)步驟 ,你的IIS Web服務(wù)器是否得到應(yīng)有的的安全防護(hù)?2011-03-03

