Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. aspstate service

aspstate service

Scheduled Pinned Locked Moved ASP.NET
asp-netquestioncsharpcomsysadmin
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    osamahmirza
    wrote on last edited by
    #1

    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

    O 1 Reply Last reply
    0
    • O osamahmirza

      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

      O Offline
      O Offline
      osamahmirza
      wrote on last edited by
      #2

      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"

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups