Microsoft KB Archive/930901

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:35, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


Article ID: 930901

Article Last Modified on 3/17/2007



APPLIES TO

  • Windows Vista Home Basic
  • Windows Vista Ultimate
  • Windows Vista Business
  • Windows Vista Home Premium
  • Windows Vista Home Basic 64-bit edition
  • Windows Vista Home Premium 64-bit edition
  • Windows Vista Ultimate 64-bit edition
  • Windows Vista Business 64-bit edition
  • Microsoft Internet Information Services 7.0



SYMPTOMS

After you upgrade from Windows Vista Home Basic, HTML documents may not be displayed correctly in Microsoft Internet Information Services (IIS) 7.0. This problem occurs when you upgrade to any one of the following editions:

  • Windows Vista Home Premium
  • Windows Vista Business
  • Windows Vista Ultimate


CAUSE

This problem occurs because several IIS 7.0 features that are installed during the upgrade do not have their configuration information added to the ApplicationHost.config file.

Specifically, in the Windows Features dialog box, the following IIS 7.0 features appear to be installed:

  • Default Document
  • Directory Browsing
  • Static Content
  • Static Content Compression

However, these features do not function.

Note To view these features, follow these steps:

  1. Click Start, type appwiz.cpl in the Start Search box, and then click appwiz.cpl in the Programs list.
  2. In the Tasks list, click Turn Windows features on or off. If you are prompted for an administrator password or confirmation, type your password, or click Continue.
  3. In the Windows Features dialog box, expand Internet Information Services, and then expand World Wide Web Services.
  4. Take one of the following actions:
    • To view the Default Document, Directory Browsing, and Static Content features, expand Common Http Features.
    • To view the Static Content Compression feature, expand Performance Features.


RESOLUTION

To resolve this problem, follow these steps:

  1. Click Start, type cmd.exe in the Start Search box, right-click cmd.exe in the Programs list, and then click Run as administrator. If you are prompted for an administrator password or confirmation, type your password, or click Continue.
  2. At the command prompt, type the following string:

    start /w pkgmgr.exe /uu:IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpCompressionStatic

    Note You may receive an error message when you run this command. You may receive this message because configuration information is missing from the ApplicationHost.config file. However, the operation will be completed successfully.
  3. Click Start, type appwiz.cpl in the Start Search box, and then click appwiz.cpl in the Programs list.
  4. In the Tasks list, click Turn Windows features on or off. If you are prompted for an administrator password or confirmation, type your password, or click Continue.
  5. In the Windows Features dialog box, expand Internet Information Services, expand World Wide Web Services, and then expand Common Http Features.
  6. Click to select the following check boxes:
    • Default Document
    • Directory Browsing
    • Static Content
  7. In the Windows Features dialog box, expand Internet Information Services, expand World Wide Web Services, and then expand Performance Features.
  8. Click to select the Static Content Compression check box.


STATUS

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

MORE INFORMATION

For more information about how to configure IIS 7.0 from the command line, visit the following Microsoft Web site:

Steps to reproduce the behavior

  1. On a computer that is running Windows Vista Home Basic, enable IIS 7.0 To do this, follow these steps:
    1. Click Start, type appwiz.cpl in the Start Search box, and then click appwiz.cpl in the Programs list.
    2. In the Tasks list, click Turn Windows features on or off. If you are prompted for an administrator password or confirmation, type your password, or click Continue.
    3. Click to select the Internet Information Services check box.
  2. Upgrade the computer to any one of the following editions:
    • Windows Vista Home Premium
    • Windows Vista Business
    • Windows Vista Ultimate
  3. Try to view an HTML page on the IIS 7.0 server by using Microsoft Internet Explorer.


Keywords: kbtshoot kbprb kbbug KB930901