Server Error in '/虛擬目錄名稱(chēng)' 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.
1、開(kāi)始-運(yùn)行-輸入taskmgr.exe回車(chē)(如圖1-1)江解。
2设预、在“Windows任務(wù)管理器”-“服務(wù)”選項(xiàng)卡-點(diǎn)擊“服務(wù)”(如圖1-2)
3、在“服務(wù)(本地)”中找到報(bào)錯(cuò)提示的“ASP.NET State Service”服務(wù)犁河。
4鳖枕、在“ASP.NET State Service”服務(wù)位置右鍵點(diǎn)擊-屬性(如圖1-4)。
5桨螺、在“ASP.NET State Service的屬性”窗口-把“啟動(dòng)類(lèi)型”選擇為“自動(dòng)”宾符,“服務(wù)狀態(tài)”選擇為“啟用”,修改完畢以后點(diǎn)擊“啟用”彭谁,再重新訪問(wèn)即可正常登錄吸奴。