Click here to Skip to main content
15,867,594 members
Please Sign up or sign in to vote.
5.00/5 (1 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..


C#
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
Updated 5-May-21 0:11am
v5
Comments
[no name] 18-Mar-13 9:43am    
Unless you have some sort of administrator access to the server, I do not think you can.
[no name] 18-Mar-13 9:46am    
then how can i use stateserver mode for storing sessions
[no name] 18-Mar-13 9:47am    
i want to use this for stopping multple user logins with same login id/pwd

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[^]
 
Share this answer
 
v2
Comments
[no name] 19-Mar-13 2:42am    
dude im hosting the site on webserver..how can i start/stop windows features
[no name] 19-Mar-13 2:52am    
my websitee on some hosting server..
hi!! are you use sessionstate in your webconfig file


HTML
<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
SQL
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.
 
Share this answer
 
v2
Comments
[no name] 19-Mar-13 3:19am    
im using above tag with required values.but it is thorwing the above error..
Go to Services >> ASP.NET State Service >> start
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900