locked
unable to make the session state request to the session state server. please ensure that the asp.net RRS feed

  • Question

  • User-1137211520 posted

    Hi Guys

    My website has un-predicted load, So today i think to put it on Cloud load balancing. I took an server on cloud. and configured it. But when I enable load-balacing website is throwing error as below:-

    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.

    Sometimes I'm getting different error as:

    “Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.”

     

    My both servers' configuration is as :- windows 2003 standard edition, IIS-7, .net framework 2.0, asp.net ajax 1.1

    I already done some steps as i searched on web:-

    1. Asp.net State Service started

    2. sessionstate mode is "stateserver" in web.config

     

    Please help .. it's very urgent.

     

     

    Monday, February 21, 2011 11:55 PM

Answers

All replies