iis 无法安装提示错误,无法复制一个或多个文件,错误码0x4b8

iis 无法安装提示错误,无法复制一个或多个文件,错误码0x4b8

装IIS,打开 控制面板---->添加或删除程序----->点击添加或删除windows组件-->选中internet信息服务来添加IIS组件,提示“无法复制STAXMEM.DLL”,但文件明明存在,取消进入下一步,又有N个这样的提示,最后弹出“无法复制一个或多个文件,错误码0x4b8”,只能生成一个"internet信息服务"图标,但双击弹出无法找到文件。

反复几次没有头绪,于是上百度搜索了一下,经过试验,问题已经解决。方法如下:

开始 --> 运行 --> 输入 CMD -->再输入以下命令:

esentutl /p %windir%/security/database/secedit.sdb

MS-DOS会出现如下提示:

Microsoft(R) Windows(TM) Database Utilities

Version 5.1

Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating REPAIR mode...

Scanning Status (% complete)

0 10 20 30 40 50 60 70 80 90 100

|----|----|----|----|----|----|----|----|----|----|

It is recommended that you immediately perform a full backup

of this database. If you restore a backup made before the

repair, the database will be rolled back to the state

it was in at the time of that backup.

Operation completed successfully in 10.266 seconds.

其中“esentutl /p %windir%/security/database/secedit.sdb”这句话的意思就是用Windows XP中自带的一个Database Utility — esentutl.exe来修复本地安全性数据库(%windir%\security\database\secedit.sdb)的一个过程显示。在语句“esentutl /p %windir%/security/database/secedit.sdb”中“/p”参数用来修复指定的数据库文件。

然后再安装一次IIS,就OK了。