Microsoft KB Archive/887420

= You receive an &quot;Unable to write ScriptMaps metabase entry&quot; error message when you try to upgrade your Windows 2000-based computer from SP3 to SP4 =

Article ID: 887420

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 4
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server
 * Microsoft Windows 2000 Professional Edition

-





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:  Remove all extension mappings in the IIS metabase except for the extensions that map to Asp.dll. To do this, follow these steps:  Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager. In the left pane, right-click the name of the computer that you are using, and then click Properties. In the Master Properties list, click WWW Service, and then click Edit. Click the Home Directory tab, and then click Configuration. 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.</li> Click OK. If the Inheritance Overrides dialog box appears, click Select All, and then click OK.</li> Click OK two times.</li></ol> </li> Stop the IIS Admin Service. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, point to Programs, point to Administrative Tools, and then click Services.</li> In the right pane, right-click IIS Admin Service, click Stop, and then click Yes.</li> 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.</li></ol> </li> Set the startup type for the IIS Admin Service and the World Wide Web Publishing Service to Disabled. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, point to Programs, point to Administrative Tools, and then click Services.</li> In the right pane, right-click IIS Admin Service, and then click Properties.</li> In the Startup type list, click Disabled, click Apply, and then click OK.</li> Right-click World Wide Web Publishing Service, and then click Properties.</li> 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.</li></ol> </li> 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).</li> Click Start, click Run, type cmd, and then click OK.</li> At the command prompt, type iisreset, and then press ENTER.</li> 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.</li></ol>

Keywords: kbtshoot KB887420

-

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

© Microsoft Corporation. All rights reserved.