vps報(bào)錯(cuò)Unable to make the session state request
一、【Unable to make the session state request問題】
頁面打開時(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解決方案】
開啟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)開后選擇啟動(dòng),并將啟動(dòng)類型設(shè)為自動(dòng)
2、 將web.config打開,會(huì)看到有一行是
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" timeout="20"/>,
如果沒有,請(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)文章
windows?server2016安裝oracle?11g的圖文教程
Windows?Server是微軟面向服務(wù)器的操作系統(tǒng),服務(wù)器操作系統(tǒng)和客戶端操作系統(tǒng)是不一樣的,下面這篇文章主要給大家介紹了關(guān)于windows?server2016安裝oracle?11g的相關(guān)資料,需要的朋友可以參考下2022-07-07IIS站點(diǎn)提示403?-?Forbidden:Access?is?denied問題的解決方法
在使用IIS的時(shí)候如果遇到403相關(guān)的錯(cuò)誤,往往束手無策,不知道是什么權(quán)限的原因,現(xiàn)總結(jié)如下,這篇文章主要給大家介紹了關(guān)于IIS站點(diǎn)提示403?-?Forbidden:Access?is?denied問題的解決方法,需要的朋友可以參考下2023-10-10Windows?Server?2008R2,2012,2016,2019各系統(tǒng)版本區(qū)別
windows服務(wù)器版有windowsserver2008,windowsserver2012R2,windowsserver2016,本文主要介紹了各系統(tǒng)版本區(qū)別,他們有什么不同,如何選擇自己適合的服務(wù)器系統(tǒng),本文來詳細(xì)的介紹一下2021-12-12IIS7 設(shè)置讀取、腳本和可執(zhí)行文件的執(zhí)行權(quán)限的步驟
這篇文章主要介紹了IIS7 設(shè)置讀取、腳本和可執(zhí)行文件的執(zhí)行權(quán)限的步驟,需要的朋友可以參考下2017-04-04Windows rsync服務(wù)器備份配置實(shí)例
Windows下使用rsync備份文件的配置方法,這是一個(gè)不錯(cuò)的實(shí)例,經(jīng)測(cè)試是沒問題的,大家可以參考下。2009-09-09IIS通過ARR實(shí)現(xiàn)負(fù)載均衡的方法步驟
本文主要介紹了IIS通過ARR實(shí)現(xiàn)負(fù)載均衡的方法步驟,通過合理配置ARR,可以有效分發(fā)請(qǐng)求,提高IIS的吞吐量和響應(yīng)速度,為網(wǎng)站或應(yīng)用程序提供更好的性能保障2024-01-01Windows Server 2008服務(wù)器管理新技巧6則
在我們接觸了Windows Server 2008服務(wù)器系統(tǒng)后,如果再沿襲以前的管理經(jīng)驗(yàn)來維護(hù)Windows Server 2008服務(wù)器時(shí),就會(huì)發(fā)現(xiàn)許多經(jīng)驗(yàn)已經(jīng)失效了。2009-04-04win2008 R2安裝網(wǎng)站安全狗提示HTTP 錯(cuò)誤 500.21的解決方法
這篇文章主要介紹了win2008 R2安裝網(wǎng)站安全狗提示HTTP 錯(cuò)誤 500.21的解決方法,需要的朋友可以參考下2015-09-09NTFS權(quán)限設(shè)置以避免通過webshell遍歷主機(jī)目錄
我們知道,匿名訪問web使用系統(tǒng)中的“IUSR_主機(jī)名”這個(gè)用戶,只要限制了這個(gè)用戶的讀取權(quán)限,即能限制訪問者遍歷服務(wù)器目錄,保護(hù)服務(wù)器數(shù)據(jù)不被非法訪問2011-03-03