1. 程式人生 > >轉: 解決【Unable to make the session state request to the session state server】

轉: 解決【Unable to make the session state request to the session state server】

del tool 知識 unable lse windows connect set all

錯誤描述:

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.

錯誤原因:

ASP.Net State Service服務未啟動。

解決辦法:
Administrative Tools -> Services -> make ASP.NET State Service started.

打開windows 服務,找到 技術分享圖片

建議將Startup type設置成Automatic(Delayed Start)

轉: 解決【Unable to make the session state request to the session state server】