現在每天都會出現以下那一大串錯誤,所以我只好每天重啟服務器。
(ASP.NET State Service)已啟動
Web.config 的sessionState  <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="20" stateNetworkTimeout = "3000" /> 煩請各位大大幫忙我一下 現在很苦惱 謝謝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.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: 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.asp.netsession

解决方案 »

  1.   

    这个服务ASP.NET State Service,是自动启动吗?
      

  2.   

    如果你们还有能力修改程序,就把使用Session的地方删掉,重新写。
      

  3.   

     ASP.NET State service停掉了,看看Eventlog里面有没有什么错误。按理说重启 ASP.NET State service就可以了。
      

  4.   

    看看这个讨论有没有帮助,我也没有细看:Good news for those of you who get "Unable to make the session state request to the session state server." error..
    http://forums.asp.net/t/1030680.aspx
      

  5.   

    To sp1234 我們需要儲存資料(暫時)
    To findcaiyzh 重啟還是沒辦法 但是就是會出現上面那個錯誤