ASP.NET State Service

weigang chen 1 Reputation point
2020-07-02T09:47:20.667+00:00 报如下错误:

无法向会话状态服务器发出会话状态请求。请确保 ASP.NET State Service (ASP.NET 状态服务)已启动,并且客户端端口与服务器端口相同。如果服务器位于远程计算机上,请检查 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection 的值,确保服务器接受远程请求。如果服务器位于本地计算机上,并且上面提到的注册表值不存在或者设置为 0,则状态服务器连接字符串必须使用“localhost”或“”作为服务器名称。

可问题是检查 ASP.NET State Service这个服务,是已经启动的。web.config文件设置如下:
<sessionState timeout="60" mode="StateServer" stateConnectionString="tcpip=" />



Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,675 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous

    ASP.Net is not currently supported here on QnA. They're actively answering questions in dedicated forums here.

    --please don't forget to Accept as answer if the reply is helpful--

    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    0 comments No comments