Microsoft KB Archive/202075

= Mulitple Script Map Entries Created in IIS 4.0 =

Article ID: 202075

Article Last Modified on 6/23/2005

-

APPLIES TO


 * Microsoft Internet Information Server 4.0

-



This article was previously published under Q202075



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



SYMPTOMS
Each time an Internet Information Server (IIS) computer is restarted, duplicate mapping for some applications are added repeatedly under the Application Mappings in IIS 4.0.

To view these mappings, open the Microsoft Management Console (MMC) and click the Computer icon under the Internet Information Server category. Open the Property sheet for this item and choose to Edit the Master Properties of the WWW Service. Click the Home Directory tab and click the Configuration button beneath the Application Settings. You will then see the Application Mappings displayed. Each extension only needs to be listed one time.



CAUSE
This problem is caused by Script Mappings that exist in the registry. IIS version 3.0 uses the registry to control any application mappings. IIS 4.0 stores this information in the MetaBase. When a server running IIS 4.0 is started, it converts the ScriptMap registry key into an Application Mapping, but this registry entry is not removed.



RESOLUTION
To resolve this problem, remove the Script Map entries from the registry.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.

 Open the Default Property Sheet for your computer running Internet Information Server and view the Application Mappings. Remove all extra (duplicate) entries for any extensions until there is only one mapping listed for each extension. Start Registry Editor. Locate the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\Script Map.

 Highlight any values that are listed for this key EXCEPT for Default and choose Edit and Delete. Restart the computer.</ol>

These steps will remove any mappings from the registry and prevent the mappings from being added repeatedly to the MetaBase.

Keywords: kbprb KB202075

-

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

© Microsoft Corporation. All rights reserved.