Microsoft KB Archive/930901

= FIX: HTML documents may not be displayed correctly in Internet Information Services 7.0 after you upgrade from Windows Vista Home Basic =

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:
 * 5) * To view the Default Document, Directory Browsing, and Static Content features, expand Common Http Features.
 * 6) * To view the Static Content Compression feature, expand Performance Features.



RESOLUTION
To resolve this problem, follow these steps:  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. 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. Click Start, type appwiz.cpl in the Start Search box, and then click appwiz.cpl in the Programs list. 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. In the Windows Features dialog box, expand Internet Information Services, expand World Wide Web Services, and then expand Common Http Features. Click to select the following check boxes:  Default Document</li> Directory Browsing</li> Static Content</li></ul> </li> In the Windows Features dialog box, expand Internet Information Services, expand World Wide Web Services, and then expand Performance Features.</li> Click to select the Static Content Compression check box.</li></ol>

<div class="status_section">

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

<div class="moreinformation_section">

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

http://www.iis.net/default.aspx?tabid=2&subtabid=25&i=958

Steps to reproduce the behavior
<ol> On a computer that is running Windows Vista Home Basic, enable IIS 7.0 To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, type appwiz.cpl in the Start Search box, and then click appwiz.cpl in the Programs list.</li> 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.</li> Click to select the Internet Information Services check box.</li></ol> </li> Upgrade the computer to any one of the following editions: <ul> Windows Vista Home Premium</li> Windows Vista Business</li> Windows Vista Ultimate</li></ul> </li> Try to view an HTML page on the IIS 7.0 server by using Microsoft Internet Explorer.</li></ol>

Keywords: kbtshoot kbprb kbbug KB930901

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.