You are currently offline, waiting for your internet to reconnect

Error message when you try to install the ASP.NET feature in IIS 7.0: "An error has occurred"

In Microsoft Internet Information Services 7.0 (IIS 7.0), you may receive an error message that resembles the following when you try to install the Microsoft ASP.NET feature:
An error has occurred. Not all of the features were successfully changed.
Additionally, the following information is logged in the IIS 7.0 installation log file (Iis7.log):
[ ***** IIS 7.0 Component Based Setup ***** ]
"%windir%\System32\inetsrv\aspnetca.exe" /install /fullaspnet 2.0.50727.0
< !!FAIL!! > AddCollectionElement result=0x800700b7
< !!FAIL!! > WriteFilterToCollection result=0x800700b7
< !!FAIL!! > WriteFiltersSection() result=0x800700b7
< !!FAIL!! > WriteFullASPNETConfiguration() result=0x800700b7
< !!FAIL!! > Installation failure, result=0x800700b7
Note The Iis7.log file is located in the folder where Microsoft Windows is installed.
This issue occurs because a duplicate Internet Server API (ISAPI) filter is detected when you try to install the ASP.NET feature.
To resolve this issue, follow these steps:
  1. To start IIS Manager, click Start, type Inetmgr in the Start Search box, and then click Inetmgr in the Programs list.
  2. Expand the local computer node, double-click ISAPI Filters, and then remove all the ASP.NET filters that are listed.
  3. Reinstall the ASP.NET feature of IIS 7.0 by using the Turn Windows Features On or Off wizard.

Steps to reproduce the behavior

  1. On a computer that is running Microsoft Windows XP, install the Microsoft .NET Framework 2.0 and the Microsoft .NET Framework 1.1.

    This step installs Microsoft ASP.NET 2.0 and Microsoft ASP.NET 1.1.
  2. Install the security update that is described in the following Microsoft Knowledge Base article:
    922770 MS06-056: Vulnerability in ASP.NET 2.0 could allow for information disclosure
    When this security update is installed, the ISAPI filter that is named ASP.NET_2.0.50727.42 is renamed ASP.NET_2.0.50727.210.
  3. Upgrade the computer to Windows Vista.

    When you upgrade the computer to Windows Vista, the IIS metabase is migrated to Windows Vista. This step also installs the renamed ISAPI filter that is mentioned in step 2. When the .NET Framework 1.1 is installed, the installation program registers a duplicate ISAPI filter.
  4. In IIS 7.0, try to install the ASP.NET feature.

    When you try to install the ASP.NET feature, the ASP.NET installation file (Aspnetca.exe) detects the duplicate ISAPI filter that is mentioned in step 3. Therefore, the installation fails.

Article ID: 929772 - Last Review: 12/16/2006 01:53:01 - Revision: 1.0

Microsoft Internet Information Services 7.0

  • kbinstallation kbtshoot kberrmsg kbbug kbprb KB929772