.NET Articles, Web Devploment, ASP.NET, HTML, Sharepoint 2010, Aamir Hasan
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here



Posted by Aamir Hasan   on Saturday, December 17, 2011 Total Views:  

Yesterday some one asked me that he was trying to run session state in application but it was giving error. Here’s is the solution. You have to enable ASP.NET session state services from services before going to use session state. Session state is use to store session data on the remote server in the process. It will automatically installed when you installed the .NET framework.ASP.NET session state service is installed at location %drive%\Microsoft.NET\Framework\version\aspnet_state.exe. For ASP.NET session state server you need to provide the machine connection string for ASP.NET to connect that you all need to enable ASP.NET session state service. ASP.NET session state is used for load balance cases.


The following steps will apply to run automatically session state service in your remote server.

  1. From start, open run command, write services.msc and click Ok button, services window will open.
  2. Now, find ASP.NET state service and right click on it and then properties.

  3. Under the General tab, change starts type from Manual to Automatic.

  4. Click start button under the service status
  5. Click Ok button


Note: you need the ip address to configure the stateserver.


The following is the Web.config settings for the session state on the remote server.




        <sessionState mode="StateServer"







Protected by Copyscape Online Plagiarism Tool

Comments (2) -

Wholesale mac makeup online
Wholesale mac makeup online United States
10/26/2014 4:57:01 AM #

very good publish, i actually love this website, carry on it

Wholesale Cosmetics
Wholesale Cosmetics People's Republic of China
10/29/2014 9:57:36 PM #

Wow, perfect. Fortunately, I found your website!

Lorene Oehlenschlage
Lorene Oehlenschlage United States
5/8/2015 3:23:35 AM #

Aloha guys! I have got a problem with university papers. There are too many  written tasks to do within a short time. How on earth do you actually decide related troubles? Maybe  you are familiar with any professional college writing firms that guarantee competent aid for collegers? Much thanks! (Edited, already found an answer, sorry Smile ) Forgot, that i had a successful experience with Last year this online service accomplished several essays for me. The whole of them were submitted successfully. The one-down rating was �good�, so i think i should stick with that service Smile Sorry again, if the topic is in wrong place or smth. like that )  P.S. If you have any suggestions though, please post your options

Pingbacks and trackbacks (1)+

Add comment

  Country flag

  • Comment
  • Preview

Advertizement 1
Advertizement 2
Advertizement 3
Advertizement 4
Advertizement 5