国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 服務器 > Web服務器 > 正文

vps報錯Unable to make the session state request

2024-09-01 13:45:23
字體:
來源:轉載
供稿:網(wǎng)友
客戶反應vps報錯Unable to make the session state request,我司技術將解決方法總結如下,希望可以幫助更多的人解決“Unable to make the session state request”難題。

一、【Unable to make the session state request問題】

頁面打開時,出現(xiàn)如果下錯誤.處理方法.或者登陸后不久,頻繁的返回到了登錄界面

登錄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解決方案整理于網(wǎng)絡,如果你們有更好的解決方法請聯(lián)系我們
發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 耿马| 九江市| 剑川县| 新丰县| 肥乡县| 阿拉善盟| 晴隆县| 盐边县| 龙海市| 达拉特旗| 西华县| 江口县| 宁城县| 玉龙| 鲁山县| 靖边县| 玉屏| 凤台县| 濉溪县| 孝义市| 莆田市| 扎鲁特旗| 泰来县| 锡林浩特市| 长汀县| 浦东新区| 海伦市| 山丹县| 奉化市| 泉州市| 汝阳县| 比如县| 尉氏县| 湘乡市| 安乡县| 屯昌县| 乌拉特前旗| 桑日县| 连城县| 枣阳市| 罗甸县|