Click here to Skip to main content
Rate this: bad
good
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 '127.0.0.1' as the server name.
Posted 18-Mar-13 4:38am
Edited 18-Mar-13 21:10pm
v5
Comments
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
good
Please Sign up or sign in to vote.

Solution 1

Hi!!!
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.
 
refrence:::
http://social.technet.microsoft.com/Forums/en-US/itprovistasetup/thread/b6c705db-77fe-4636-b3c0-030dae76883a/[^]
 
http://stackoverflow.com/questions/1376717/unable-to-make-the-session-state-request-to-the-session-state-server[^]
 
and take a look of this link how to configure this services..
http://support.microsoft.com/kb/911720[^]
  Permalink  
v2
Comments
syedkhaleel at 19-Mar-13 2:42am
   
dude im hosting the site on webserver..how can i start/stop windows features
syedkhaleel at 19-Mar-13 2:52am
   
my websitee on some hosting server..
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

hi!! are you use sessionstate in your webconfig file
 

<sessionstate mode="StateServer">
            stateConnectionString="tcpip=127.0.0.1:42424"
            cookieless="false"
            timeout="120"/></sessionstate>
 

 
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.
  Permalink  
v2
Comments
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 270
1 Sergey Alexandrovich Kryukov 185
2 BillWoodruff 173
3 CPallini 155
4 Kamal Rocks 144
0 OriginalGriff 5,655
1 DamithSL 4,506
2 Maciej Los 3,997
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


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