Article ID: 827189 - Last Review: April 18, 2007 - Revision: 5.4 PRB: "Could Not Start the ASP.NET State Service on Local Computer" Error Message When You Try to Run an ASP.NET Application with the ASP.NET State ServiceOn This PageSYMPTOMSYou install the Microsoft .NET Framework 1.1, and then you
install the .NET Framework 1.0 Service Pack 2 (SP2) on a computer that is
running Microsoft Windows 2000 with Service Pack 4 (SP4). When you try to run a Microsoft
ASP.NET application, you may receive the following error message: Could not start the ASP.NET State Service service on Local Computer. Error 1069: The service did not start due to a logon failure. CAUSEWhen the .NET Framework 1.0 is installed after the .NET
Framework 1.1 is installed, the password changes for the ASPNET account that the ASP.NET
state service uses. Therefore, an error occurs when the ASP.NET application
uses the ASP.NET state service. WORKAROUNDWhen you install the .NET Framework version 1.0 after you install the .NET
Framework version 1.1, you may modify the password for the ASPNET account that
the ASP.NET state service uses. To do this, locate the
%windir%\Microsoft.NET\Framework\v1.1.4322 folder at the command prompt, and
then type the following command: aspnet_regiis.exe
-ir STATUS This
behavior is by design. MORE INFORMATIONSteps to Reproduce the BehaviorInstall Windows 2000 SP4If Windows 2000 SP4 is not already installed on your Windows 2000-based computer, visit the following Microsoft Web site:http://www.microsoft.com/downloads/details.aspx?FamilyID=1001aaf1-749f-49f4-8010-297bd6ca33a0&DisplayLang=en
(http://www.microsoft.com/downloads/details.aspx?FamilyID=1001aaf1-749f-49f4-8010-297bd6ca33a0&DisplayLang=en)
Install the .NET Framework 1.1To download and to install the .NET Framework 1.1, visit the following Microsoft Web site:http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx
(http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx)
Create a New ASP.NET Web Application
Configure the State ServiceBy default, ASP.NET stores the session state in the same process that processes the request. Additionally, ASP.NET stores the session data in an external process such as aspnet_state. To enable this feature, follow these steps:
Install the .NET Framework 1.0 SP2To download and to install the .NET Framework 1.0 SP2, visit the following Microsoft Web site:http://msdn2.microsoft.com/en-us/netframework/aa569282.aspx
(http://msdn2.microsoft.com/en-us/netframework/aa569282.aspx)
Start the State ServiceTo start the ASP.NET State Service, follow these steps:
REFERENCES For additional
information, click the following article number to view the article in the
Microsoft Knowledge Base: 307598
(http://support.microsoft.com/kb/307598/
)
INFO: ASP.NET State Management Overview
For more information, visit the following Microsoft Web sites: http://www.microsoft.com/downloads/details.aspx?FamilyID=1001aaf1-749f-49f4-8010-297bd6ca33a0&DisplayLang=en
(http://www.microsoft.com/downloads/details.aspx?FamilyID=1001aaf1-749f-49f4-8010-297bd6ca33a0&DisplayLang=en)
http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx (http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx) http://msdn2.microsoft.com/en-us/library/87069683(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/87069683(vs.71).aspx) | Article Translations
|
Back to the top
