Installing asp.net state service
As some how I got my AspNet State service failed to run, its deleted automatically. So there was not such service in my service listing. To get it running again we need it install it.
Following are the commend to install it back:
1. Open you command prompt:
- a) Go to the .net Framework directory [Form me its .NET 4 and 64 bit Win 7]: X:\Windows\Microsoft.NET\Framework64\v4.0.30319>
- b) Run the following commands:
Advertisement
Posted on December 23, 2011, in ASP.net, Computer Configuration and tagged .net service, asp.net, aspnet state service, session in state server, state service. Bookmark the permalink. 4 Comments.
Session State service uses server’s memory to store sessions. If both web server and state server are on same machine, you will not get more scalable solution than InProc is.
Well you are correct that InProc is faster than State service. but there are other concerns. We can have a quick look here: http://stackoverflow.com/questions/561705/best-practices-for-inproc-vs-stateserver-for-asp-net-session-state
So basically its depends on the developer to make the decision which option to use.
Wohh exactly what I was searching for, thanks for posting.
Thank you for your Reply.