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:
                      •              aspnet_regiis.exe –u
                                     aspnet_regiis.exe –i
                                     aspnet_regiis.exe –c

                        You should now get the service running and can view the list of service services.msc.

                        StateService

Advertisement

Posted on December 23, 2011, in ASP.net, Computer Configuration and tagged , , , , . Bookmark the permalink. 4 Comments.

  1. 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.

  2. 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.

  3. Shawana Restifo

    Wohh exactly what I was searching for, thanks for posting.

  4. Thank you for your Reply.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 51 other followers