Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
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 4:38am
Edited 18-Mar-13 21:10pm
ThePhantomUpvoter at 18-Mar-13 9:43am
Unless you have some sort of administrator access to the server, I do not think you can.
syedkhaleel at 18-Mar-13 9:46am
then how can i use stateserver mode for storing sessions
syedkhaleel at 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 at 19-Mar-13 2:42am
dude im hosting the site on can i start/stop windows features
syedkhaleel at 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 at 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
0 OriginalGriff 685
1 Maciej Los 290
2 Richard Deeming 185
3 Suvendu Shekhar Giri 184
4 Abhinav S 166
0 Sergey Alexandrovich Kryukov 9,678
1 OriginalGriff 9,135
2 Peter Leow 5,082
3 Kornfeld Eliyahu Peter 3,373
4 Maciej Los 2,606

Advertise | Privacy | Mobile
Web02 | 2.8.150327.1 | Last Updated 19 Mar 2013
Copyright © CodeProject, 1999-2015
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