Unable to make the session state request to the session state server

前端 未结 10 798
误落风尘
误落风尘 2020-12-07 08:39

Our site is currently having this problem. Basically it only happen when we click some particular links where it will pop-up a new window.
This is the error message we

相关标签:
10条回答
  • 2020-12-07 09:08

    I've found that some developers will for some reason define the server's private IP outside of IIS in an unexpected location, like a nonstandard config file (i.e. not web.config) or a text file. This can cause internal operation to fail even when the service is started, ports aren't being blocked, reg keys are correct, etc.

    Kaseya, in particular, places a file called serveripinternal.txt in the root IIS directory of the VSA server. I've seen the text of your error when somebody running their own Kaseya instance changed the server's internal IP. The server will be reachable, IIS will respond, and the login page will come up - but login will fail with the cited message.

    0 讨论(0)
  • 2020-12-07 09:09
    1. Start–> Administrative Tools –> Services
    2. Right-click on the ASP.NET State Service and click “start”

    Additionally you could set the service to automatic so that it will work after a reboot

    0 讨论(0)
  • 2020-12-07 09:09

    If you need to change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection to 1, remember to restart the ASP.net state service after you change the parameter.

    0 讨论(0)
  • 2020-12-07 09:12

    Not the best answer, but it's an option anyway:

    Comment the given line in the web.config.

    0 讨论(0)
  • 2020-12-07 09:13

    Type Services.msc in run panel of windows run window. It will list all the windows services in our system. Now we need to start Asp .net State service as show in the image.

    Your issue will get resolved.

    0 讨论(0)
  • 2020-12-07 09:13

    I recently ran into this issue and none of the solutions proposed fixed it. The issue turned out to be an excessive use of datasets stored in the session. There was a flaw in the code that results in the session size to increase 10x.

    There is an article on the msdn blog that also talks about this. http://blogs.msdn.com/b/johan/archive/2006/11/20/sessionstate-performance.aspx

    I used a function to write custom trace messages to measure the size of the session data on the live site.

    0 讨论(0)
提交回复
热议问题