Click here to Skip to main content
13,087,235 members (63,264 online)
Rate this:
Please Sign up or sign in to vote.
See more: , +
i have uploaded the site to some hosting server.
im using session to track user who is logged in..
im using state server mode to store user session inforamation in out process...
but while running website im getting the following error.

how to start the state server my control panel..

please solve my problem ?

how to start stateserver in remote server from local system ?

Thanq for helping me..

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 '' as the server name.
Posted 18-Mar-13 3:38am
Updated 18-Mar-13 20:10pm
ThePhantomUpvoter 18-Mar-13 9:43am
Unless you have some sort of administrator access to the server, I do not think you can.
syedkhaleel 18-Mar-13 9:46am
then how can i use stateserver mode for storing sessions
syedkhaleel 18-Mar-13 9:47am
i want to use this for stopping multple user logins with same login id/pwd
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

for checking this service start or not you do like that!!!

Go back into your Control Panel --> "Turn on/off Windows Features" window and look carefully at the listings. Make sure all of your little plus signs are expanded and go to the following branch:

IIS (Internet Information Services) --> World Wide Web Services --> Application Development Features --> ASP.NET

Make sure that the ASP.NET checkbox is checked. Then, check your services list again to find ASP.Net State Service.


and take a look of this link how to configure this services..[^]
syedkhaleel 19-Mar-13 2:42am
dude im hosting the site on can i start/stop windows features
syedkhaleel 19-Mar-13 2:52am
my websitee on some hosting server..
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

hi!! are you use sessionstate in your webconfig file

<sessionstate mode="StateServer">

Most webhosting company uses these setting.
but if you getting same error
so check
On the server, go to Administrative Tools – Services:
Service: "ASP.NET State Service" had Startup Type set to Manual, and was not running.
Changed Startup Type to Automatic, and started it. (Right-click on "ASP.NET State Service" – Properties to change settings). Then it worked.
syedkhaleel 19-Mar-13 3:19am
im using above tag with required values.but it is thorwing the above error..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 19 Mar 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100