Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Event ID:1074 and Event ID:1310 logged when storing session in aspnet_state.exe


Symptoms

When an ASP.Net 1.1 application that stores session in aspnet_state.exe is put under heavy user load, an error message similar to the following may appear in the system event log:



Event Type: Error
Event Source: ASP.NET 1.1.4322.0
Event Category: None
Event ID: 1074
Date:  14-11-2009
Time:  18:09:42
User:  N/A
Computer: Server
Description:
An error occurred in while processing a request in state server. Major callstack: ProcessCompletion-->ProcessReading-->Tracker::Read. Error code: 0x80072747




If the same conditions are true and the application is an ASP.Net 2.0 application, an error message similar to the following may appear in the system event log:


Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event 
Event ID: 1310
Date:  4/4/2010
Time:  11:34:42 PM
User:  N/A
Computer: Server
Description:
Event code: 3009 
Event message: Unable to make the session state request to the session state server. Details: last phase='Reading response from the state server', error code=0x80072746, size of outgoing data=2245941



↑ Back to the top


Cause

This problem may occur if the server hosting the ASP.Net application has been configured with the /3GB switch enabled. 




↑ Back to the top


Resolution

To resolve this problem, remove the /3GB switch from the c:/boot.ini file. For information on locating and editing the boot.ini file, please see the following article:

How to edit the Boot.ini file in Windows Server 2003


↑ Back to the top


More Information

By default in 32bit Windows operating systems, Windows uses a virtual address space of 4 GB, with 2 GB allocated to user-mode processes (for example, applications) and 2 GB allocated to kernel-mode processes (for example, the operating system and kernel-mode drivers). On systems that have 1 GB or more of physical memory, the /3GB switch can be used to allocate more memory to applications (3 GB) and less memory to the kernel (1 GB). 

When you use the aspnet_state.exe in ASP.NET to store session, the ASP.NET Web server process (w3wp.exe) communicates with the state server(aspnet_state.exe) by using WinSocket over Transmission Control Protocol/Internet Protocol (TCP/IP). When storing large amounts of data in session, it is possible for the worker process to not be able to buffer session data properly at the TCP/IP level due to the reduced kernel mode memory space caused by the /3GB switch being enabled, and the above error messages can occur.



↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2028718
Revision : 1
Created on : 1/7/2017
Published on : 5/13/2010
Exists online : False
Views : 403