Loosing StateServer Service

We have been experiencing problems with StateServer. The service is hanging-up and stops responding further requests.

- There are not events in Application Logs (not 1072/1076 problems).
- The problem is resolved by stopping and restarting the service.
- The problem seems to be related to heavy traffic in our site but CPU and memory utilization levels stay very low in our box where state server service is located (below 5% CPU utilization).
- When the service starts, an event is added to Application Logs saying it has started with 3 listeners but, I am sure somewhere, sometime I saw another box saying it was starting with 6 listeners).
- Our application generates this Exception:
ID:0 Message: System.Web.HttpException: Unable to make the session state request to the session state server. Make sure that the ASP.NET State service is started and that the client and server ports are the same.
at System.Web.SessionState.OutOfProcStateClientManager.MakeRequest(StateProtocolVerb verb, String id, StateProtocolExclusive exclusiveAccess, Int32 timeout, Int32 lockCookie, Byte[] buf, Int32 cb, Int32 networkTimeout, SessionNDMakeRequestResults& results)
at System.Web.SessionState.OutOfProcStateClientManager.DoGet(String id, StateProtocolExclusive exclusiveAccess)
at System.Web.SessionState.OutOfProcStateClientManager.GetExclusive(String id)
at System.Web.SessionState.OutOfProcStateClientManager.BeginGetExclusive(String id, AsyncCallback cb, Object state)
at System.Web.SessionState.SessionStateModule.GetSessionStateItem()
at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
at System.Web.AsyncEventExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Anybody has experienced this problem or have info on what is causing this and how to resolve it?.
Also, I have been looking for documentation about StateServer service but it seems to be very poorly documented. There are switchs? There are Configuration settings? There is any place where I can get this information?
Our enviroment is:
A load-balanced solution currently working on-line. Our production site is composed of 4 web servers (Windows 2000 Server 4 GB RAM), 1 SQL server (Windows 2000 Server / SQL Server 2000 6 GB RAM) and 1 State server (Windows 2000 Server 2 GB RAM).
Thanks a lot in advance
Bests regards
Victor Marquez
8/4/2003 5:24:54 PM
asp.net.state-management 8807 articles. 0 followers. Follow

0 Replies

Similar Articles

[PageSpeed] 1


Similar Artilces:

State Management; .Net Profiler
Here is the situation with the customized profiler. I got a profiler class called SSOProfileProvider inheriting from ProfileProvider. I've implemented the Initilization, GetPropertyValues and SetPropertyValues. The Get... and Set.. are making a call to the database to store profile into the database. This class has been stored in the separate DLL called "Security.DLL" and there is a web site that is using this dll. The web.Config for this website is as follow:<profile enabled="true" inherits="AppProfileBase" defaultProvider="SSO" automat...

How to call a .net web service from another .net web service?
Hi all,I have developed two asp .net web services using visual studio .net 2003.I wish to call one web service from another web service.I tried adding a web reference of the web service in another web service and was able to do so.but i m not able to access the web methods provided by the web servicecould you please suggest a way to go about itExpecting quick replyThanxCharmy try to make sure that you reference it in the web reference and call it properly this is sample  [WebMethod()] public double CalcDistance(int x1, int y1, int x2, int y2) { Calculator.Service1 calc = new...

Web Service State Management Issue
ok here is my small problem. the lines below are written in WebMethod and works fine. What I need to do is t o move the lines written in Bold to the class library since It does not look good lying in the WebMethod. I need to maintain the amount variable so that it contains the sum of all the amount on which the customer is than validated. Any ideas on this: amount += Convert.ToInt64(Session["Charge"]); Session["Charge"] = amount; if(!(service.ValidateData(cardNumber,firstName,lastName,expireDate,amount))) { throw new Applic...

Session state management using web services.
 Hi all ,i am working of a hospital management system which we desided to develop using atlas frame work. we have created the application main to sections using atlas script call back architecture. we are using scripts to pack the user entered data to the web service and in that web service we are entering the data in to the database.all this happening with out a post back of the page.now comes the problem. we are not being able to handle the user session properties. we came to know that we cant access session variables in web services. we are in a trap now. how we can manage the sessio...

Application State and State Service
Sorry if this has been asked before--I looked back a number of pages and didn't see anything similar. I see in a lot of articles that session information can be maintained by the ASP.NET State Service. I'm wondering if application variables can/are also be stored out of process by the State Service. My own tests indicate no, but I could ascribe those results to my inexperience with the service. Unfortunately, I need to store small amounts of information at the application level--session varibales won't do. And I need the solution to survive recycling of the ASPNET process/. Alterna...

State Management between C# Client and Java Web Service
hello,I m creating a C#/ASP.NET Client which talks to Java Web Service. I m able to make the connection between the client & server and able to place the call to the Java Web Service also from .NET Client but the connection between the client and the server is stateless. I want the connection to be a stateful since my service is designed like this. I have also created a Java Client which accesses the Java Web Service and the connection is stateful. I m using Systinet Server for Java 5.5 for the deployment of the service. For C# Client Visual Studio is being used and for the ASP.NET ...

Key and Data Management System using .Net web service
 Hi all, I am a total beginner and desperately in need for your help.  I want to create a Key and Data Management  System using .Net web service but have no idea where to start.   What would be the easiest way to do this?  First, how do I setup IIS and ASP.NET?  I used window Vista and followed this when installing IIS 7.0:  To Install:Download the ZIP file and extract the MSI.  Install the MSIRun notepad as Administrator(do this by right-clicking your notepad shortcut and chosing "Run as Administrator")Open %systemdir%\system32\ine...

Free Web Services Management for Visual Studio.NET from AmberPoint
We at AmberPoint have built a free product for monitoring, diagnosing & troubleshooting Web services messages. It operates as a Visual Studio Add-in and will be distributed by Microsoft with the forthcoming "Whidbey" beta of Visual Studio. It helps developers that are building and deploying .NET Web services. We’re looking for any feedback that anyone may have. Some of its basic features include: • Performance Monitoring: View Web service performance in real time with easy-to-digest charts for response time, throughput and SOAP fault counts • Analysis: Gain a qu...

Web Service exception: "The handle is in the wrong state ..." in local net
Hi, I wrote a Web Service that works correctly in one server that has a public domain, but when I install the same Web Service under a server that has only access in the local network, the client application gets an exception that returns a message such as: The handle is in the wrong state for the requested operation. In such local network setup, instead of calling the web service from the client application giving the domain, I call it using the IP, could such a thing cause the problem ? or is there a way to get the web services requests from clients in the server side ? Thanks ...

State service and SQL state server
Hi guys, To use the state service or sql state server functionality do I need to write my classes in any particular way? I've tried enabling the state service and I kept getting errors indicating that my classes were not serializable - how do I make them so? Using the serialize tags etc. seemed very tricky. I would like to use a machanism whereby my session, user (and any other chosen objects) get stored into the database so state management is more robust, but there does not appear to be an obvious way of doing this. Am I to simply write all the code myself, while sticking to a sta...

Web service in .NET from Java Web Service
Hi there,I'm pretty new to .net (although i have years of experience with the old vb 6, access 2k, as well as java)... and need some with perhaps either some syntax or something.Here is the wsdl.<wsdl:definitions targetNamespace="http://www.dynix.com/schema/book">−<wsdl:types>−<schema targetNamespace="GetBookInfoByISBN">−<complexType name="BookInfoType">−<sequence><element maxOccurs="1" minOccurs="0" name="Title" nillable="true" type="xsd:string"/><element maxOccurs=&quo...

.NET Web Service and Non .NET programe
When we develop a web service by VB.NET. Then i use visual basic, Microsoft access, asp. Can these stuff access to my web service ? Means you want to access Webserver developed in VB.NET in ASP application?Sreedharhttp://www.w3coder.orgweblog http://weblogs.asp.net/skoganti...

Easy explanation on Stateless management and State management
Hi,  Till now, me still confuse to understand Stateless management and State management. Can anybody explain to me in an easy understand with example? stateless - you cannot persist any values on frequent page request and response. state mgmt - you can retain values on subsequent calls. have a look at this http://articles.techrepublic.com.com/5100-10878_11-1049585.html"Never underestimate the power of stupid people in large groups" hi, The World Wide Web, on the other hand, is intrinsically stateless because each request for a new Web page is processed without any kn...

Microsoft Chart control for .NET Framework about state management and serialization problem, it works OK with one XML file but fails with another XML file
I use Microsoft Chart control for .NET Framework , you can see details at http://blogs.msdn.com/alexgor/archive/2008/10/27/microsoft-chart-control-for-net-framework-released.aspx The Chart1 is load data from a xml and save to ViewStateData, so even if after I click Reload button, the chart1 still display OK! I'm very strange that the chart1 works well after click Reload button if it's loaded from Chart1.Serializer.Load(HttpContext.Current.Server.MapPath("~/Template/1.xml"));but chart1 don't display fter click Reload button if it's loaded from Chart1.Serializer.Loa...

Web resources about - Loosing StateServer Service - asp.net.state-management

In-memory platform delivers faster business intelligence
... instant analysis on live data. To meet this demand, in-memory computing specialist Scale-Out software is launching a new version of its StateServer ...

Information on 286 Database Management Systems
English Deutsch Knowledge Base of Relational and NoSQL Database Management Systems provided by solid IT Home - DB-Engines Ranking - Systems - ...

Transparent Data Access Inside the In-Memory Data Grid
ScaleOut updates StateServer with enhanced parallel query, extended analytics, global data integration, and public cloud support

Sponsored Post: Next Big Sound, ElasticHosts, 1&1, Red 5 Studios, SingleHop, Spokeo, Callfire, Attribution ...
... stats, SQL/NoSQL performance, web transactions, proactive notifications. Take 2 minutes to sign up for a free trial. ScaleOut StateServer® ...

The mystery of unexpected expiring sessions in ASP.NET
This is one of those posts that will not interest you unless you have a similar problem. That said, it does illustrate one general truth, that ...

Amazon Web Services Blog
... Marketplace added a number of new products available via Amazon Machine Images (AMIs) including Code Creator’s Moodle Cloud, ScaleOut’s StateServer, ...

Sponsored Post: Red 5 Studios, SingleHop, Spokeo, Callfire, Attribution Modeling, Logic Monitor, New ...
... stats, SQL/NoSQL performance, web transactions, proactive notifications. Take 2 minutes to sign up for a free trial. ScaleOut StateServer® ...

Resources last updated: 1/12/2016 8:06:45 AM