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

julho 27th, 2011 by franklin Leave a reply »

Esse erro estava ocorrendo quando tinha recém instalado o asp.net em um windows 2003.

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.

A solução que achei foi a seguinte: ativar o “ASP.NET State Service”, nos serviços do servidor, em ferramentas administrativas, no painel de controle. Configura ele para iniciar automaticamente, e inicia o serviço, reinicia o IIS e faz um novo teste, depois disso deve funcionar.

Advertisement

Deixe um comentário