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.

The ASP.NET state service (Aspnet_state.exe) is not installed when you install the 32-bit version of ASP.NET 2.0 on a 64-bit computer


View products that this article applies to.

Symptoms

When you install the 32-bit version of Microsoft ASP.NET 2.0 on a 64-bit computer, the ASP.NET state service (Aspnet_state.exe) is not installed. The following error message may be logged in the Aspnetsetup.log file:
<Date><Time> Starting Fixing State Server AllowRemoteConnection value
<Date><Time> Failure Fixing State Server AllowRemoteConnection value: FixStateServerARC failed with HRESULT 80070002: 'The system cannot find the file specified. '
Additionally, you may notice that the following registry subkey does not contain the registry information for the ASP.NET state service:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state

↑ Back to the top


Cause

This problem may occur when one of the following conditions is true:
  • You install only the 32-bit version of ASP.NET 2.0 on a 64-bit computer where Microsoft Internet Information Services (IIS) is already configured to run in Microsoft Windows on Windows 64 (WOW64) mode.
  • You uninstall the 64-bit version of ASP.NET 2.0 before you install the 32-bit version of ASP.NET 2.0.

↑ Back to the top


Resolution

To resolve this problem, install the 64-bit version of ASP.NET 2.0 before you install the 32-bit version of ASP.NET 2.0.

Note The information in this article applies only to 64-bit computers that are running the 32-bit version of ASP.NET 2.0 and IIS in WOW64 mode. Additionally, the following steps configure the computer to run the 32-bit version of ASP.NET 2.0 and IIS in WOW64 mode.

To resolve this problem, follow these steps:
  1. If you already installed the 32-bit version of ASP.NET 2.0 on the computer, run the following command to uninstall the 32-bit version of ASP.NET 2.0:
    Framework\v2.0.50727\aspnet_regiis -u
  2. Run the following command to switch IIS to run in native mode:
    cscript DriveLetter:\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32BitAppOnWin64 0
  3. Run the following command to install the 64-bit version of ASP.NET 2.0:
    Framework64\v2.0.50727\aspnet_regiis -i
  4. Run the following command to switch IIS to run in WOW64 mode:
    cscript DriveLetter:\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32BitAppOnWin64 1
  5. Run the following command to install the 32-bit version of ASP.NET 2.0:
    Framework\v2.0.50727\aspnet_regiis -i

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

Steps to reproduce the problem

  1. Run the following command to switch IIS to run in WOW64 mode:
    cscript DriveLetter:\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32BitAppOnWin64 1
  2. Install the Microsoft .NET Framework.

    Note You expect the ASP.NET state service to be installed under the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state
    However, the ASP.NET state service is not installed.
To reproduce the problem without installing the .NET Framework on a 64-bit computer, follow these steps:
  1. On a 64-bit computer, run the following command to switch IIS to run in native mode if it is necessary:
    cscript DriveLetter:\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32BitAppOnWin64 0
  2. Run the following command to uninstall the 64-bit version of ASP.NET 2.0:
    Framework64\aspnet_regiis -u
  3. Run the following command to switch IIS to run in WOW64 mode:
    cscript DriveLetter:\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32BitAppOnWin64 1
  4. Run the following command to install the 32-bit version of ASP.NET 2.0:
    Framework\aspnet_Regiis -i -enable
    Note You expect the ASP.NET state service to be installed under the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state
    However, the ASP.NET state service is not installed.

↑ Back to the top


References

For more information about the ASP.NET state service, visit the following Microsoft Developer Network (MSDN) Web site:

↑ Back to the top


Properties

Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

↑ Back to the top


Keywords: KB911720, kbprb, kbtshoot

↑ Back to the top

Article Info
Article ID : 911720
Revision : 4
Created on : 1/15/2007
Published on : 1/15/2007
Exists online : False
Views : 320