aspstate service
-
Hello everybody! I just changed my sessionState to "StateServer" and I am using .NET 2.0... When ever I run my application it gives me an error: "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. " since I am developing this application on a remote machine. I tried modifing stateConnectionString="tcpip=127.0.0.1:42424" -> stateConnectionString="tcpip=http://domainname.com/application:42424" which didnt work. Then I tried to run ASPState by doing "net start ASPState" and it gave me an error "The service name is invalid".. Q1- How can I run this service/ from where I can get this service(i learned bout this service from gotdotnet.com) Q2- What could be possibly Wrong? Desperatly waiting
-
Hello everybody! I just changed my sessionState to "StateServer" and I am using .NET 2.0... When ever I run my application it gives me an error: "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. " since I am developing this application on a remote machine. I tried modifing stateConnectionString="tcpip=127.0.0.1:42424" -> stateConnectionString="tcpip=http://domainname.com/application:42424" which didnt work. Then I tried to run ASPState by doing "net start ASPState" and it gave me an error "The service name is invalid".. Q1- How can I run this service/ from where I can get this service(i learned bout this service from gotdotnet.com) Q2- What could be possibly Wrong? Desperatly waiting
Dont worry! I got the answer here http://www.codeproject.com/aspnet/ASPNETSession.asp the name of the service is not ASPState.exe its aspnet_state.exe and is located in Folder "C:\WINDOWS\system32\dllcache"