M
M
mindgrow2019-03-15 15:49:53
.NET
mindgrow, 2019-03-15 15:49:53

Web Forms \ Why does an error occur when accessing the ASP Net state Server?

Good afternoon!
An error occurs in a Web Forms project when accessing ASP Net State Server

Unable to query session state to session state server. Make sure the ASP.NET State service is running and that the client and server ports are the same. If the server is on a remote machine, make sure 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 the previously mentioned registry value does not exist or is set to 0, then the status server connection string should use either 'localhost' or '127.0.0.1' as the server name.

I tried changing the registry value, renaming the server name, restarting the service, changing the session type to InProc - nothing helps.
Who faced? What could be the problem and how to solve it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Vornicescu, 2019-06-03
@Vornic

Try setting <sessionState mode="InProc" /> in web.config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question