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

Article translations Article translations
Article ID: 929772 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

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.

CAUSE

This issue occurs because a duplicate Internet Server API (ISAPI) filter is detected when you try to install the ASP.NET feature.

RESOLUTION

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.

MORE INFORMATION

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.

Properties

Article ID: 929772 - Last Review: December 16, 2006 - Revision: 1.0
APPLIES TO
  • Microsoft Internet Information Services 7.0
Keywords: 
kbinstallation kbtshoot kberrmsg kbbug kbprb KB929772

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com