Tuesday, August 19, 2014

ASP.NET State Service

In the name of fixing this ASP.NET error...

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.

 
 

...this suggests you need to start the "ASP.NET State Service" Windows Service.

  1. In Windows Server 2008 R2 type "Administrative Tools" at the start menu.
  2. Pick "Services" in the list that appears in a Window to bring up the list of Windows Services.
  3. Find "ASP.NET State Service" which will have a "Status" of "Disabled" unfortunately.
  4. Double-click the line item to edit it and then set the "Startup Type" to "Manual" to allow for starting the service.
  5. Click the "OK" button to get back to the list of services.
  6. Right-click on the line item for "ASP.NET State Service" and pick "Start" to start the service.

No comments:

Post a Comment