今天所做的努力
都是在为明天积蓄力量

解决.net网站报错Unable to make the session state request to the session state server

错误描述:

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服务未启动。

解决办法:
开始运行 -> Services.msc -> ASP.NET State Service 设置为启动

建议将启动类型设置成自动启动

赞(0)
未经允许不得转载:流觞 » 解决.net网站报错Unable to make the session state request to the session state server
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址