Microsoft KB Archive/839800

= BUG: The Startup Type of the ASP.NET Session State Service is set to Manual after you install an ASP.NET hotfix =

Article ID: 839800

Article Last Modified on 7/30/2004

-

APPLIES TO


 * Microsoft ASP.NET 1.1
 * Microsoft ASP.NET 1.0

-



SYMPTOMS
Microsoft ASP.NET offers two options for out-of-proc Session state. One of these options is the ASP.NET Session State Service (Aspnet_state.exe). Like any Windows Service, this service can be configured by using the Windows Services window (Services.msc). In the Services window, you can configure the Startup Type for each service. The Startup Type determines the execution of the service when the computer has been restarted. The Startup Type has the following valid options:
 * Manual
 * Automatic
 * Disabled

After you install any ASP.NET hotfix, the Startup Type will be set to Manual. Therefore, if the Startup Type was set to Automatic before we install the hotfix, we would expect the ASP.NET State Service to start automatically after a restart occurs. However, that behavior would not occur because the Startup Type is set to Manual. If you want the ASP.NET State Service to start automatically, change the Startup Type to Automatic after you install any ASP.NET hotfix.



CAUSE
This problem occurs because the installer package of ASP.NET hotfixes resets the Startup Type of the Aspnet_state service to Manual.



RESOLUTION
After you install an ASP.NET hotfix, change the Startup Type of the Aspnet_state service to the Startup Type that you want. To do this, follow these steps:
 * 1) In Control Panel, open Administrative Tools.
 * 2) Click Services. The Services window appears.
 * 3) Expand the Name column so that the complete name of each service appears.

Note A Startup Type column displays the current Startup Type value for each service.
 * 1) Double-click the ASP.NET State Service service. The ASP.NET State Service Properties window appears.
 * 2) On the General tab, click one of the following options in the Startup type list:
 * 3) * Manual
 * 4) * Automatic
 * 5) * Disabled
 * 6) Click Apply, and then click OK to save your settings.

In the Services window, notice your changes to the Startup Type in the Startup Type column.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.



Steps to reproduce the problem

 * 1) Install any ASP.NET hotfix.
 * 2) Check the Startup Type for the Aspnet_state service. To do this, see the &quot;Resolution&quot; section.

