You receive an "Unable to write ScriptMaps metabase entry" error message when you try to upgrade your Windows 2000-based computer from SP3 to SP4 (887420)



The information in this article applies to:

  • Microsoft Windows 2000 Server SP4
  • Microsoft Windows 2000 Advanced Server SP4
  • Microsoft Windows 2000 Datacenter Server SP4
  • Microsoft Windows 2000 Professional SP4

SYMPTOMS

When you try to upgrade your Windows 2000-based computer from Windows 2000 Service Pack 3 (SP3) to Windows 2000 Service Pack 4 (SP4), you receive an error message that is similar to the following:

Unable to write ScriptMaps metabase entry.

After you click OK, you then receive an error message that is similar to the following:

Failed to execute regsrv32.exe Error code: 5
After you click OK in the second error message, the SP4 installation process stops.

Note In certain cases, after you click OK in the first error message, the SP4 installation process is completed, but errors are written to the event log.

CAUSE

This behavior occurs because the SP4 installation tries to update the extension mappings in the Microsoft Internet Information Services (IIS) metabase.

RESOLUTION

To resolve this issue, follow these steps:
  1. Remove all extension mappings in the IIS metabase except for the extensions that map to Asp.dll. To do this, follow these steps:
    1. Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager.
    2. In the left pane, right-click the name of the computer that you are using, and then click Properties.
    3. In the Master Properties list, click WWW Service, and then click Edit.
    4. Click the Home Directory tab, and then click Configuration.
    5. In the Application Mappings list, click to select all extension mappings except for extensions that map to Asp.dll, click Remove, and then click Yes.

      Important All required extension mappings must be recorded for the Web server. The mappings must include the name and the file that it is mapped to.
    6. Click OK. If the Inheritance Overrides dialog box appears, click Select All, and then click OK.
    7. Click OK two times.
  2. Stop the IIS Admin Service. To do this, follow these steps:
    1. Click Start, point to Programs, point to Administrative Tools, and then click Services.
    2. In the right pane, right-click IIS Admin Service, click Stop, and then click Yes.
    3. Make sure that the World Wide Web Publishing Service and the File Transfer Protocol Service are stopped. If they are not, right-click each one, click Stop, and then click Yes.
  3. Set the startup type for the IIS Admin Service and the World Wide Web Publishing Service to Disabled. To do this, follow these steps:
    1. Click Start, point to Programs, point to Administrative Tools, and then click Services.
    2. In the right pane, right-click IIS Admin Service, and then click Properties.
    3. In the Startup type list, click Disabled, click Apply, and then click OK.
    4. Right-click World Wide Web Publishing Service, and then click Properties.
    5. In the Startup type list, click Disabled, click Apply, and then click OK.

      Note If you want to apply security templates, such as .inf files, you must apply them after you have completed step 3.
  4. Install SP4 on your computer. After the installation is complete, restart your computer, and then set the startup type for the IIS Admin Service and for the World Wide Web Publishing Service back to their previous settings (Automatic or Manual).
  5. Click Start, click Run, type cmd, and then click OK.
  6. At the command prompt, type iisreset, and then press ENTER.
  7. If steps 1 through 6 do not resolve the issue, log on to your computer with a different administrative account, and then try to install SP4 again.

Modification Type:MajorLast Reviewed:12/3/2004
Keywords:kbtshoot KB887420 kbAudITPRO