如何解决无法安装iis的问题,一般是通过控制面板---->添加或删除程序----->点击添加或删除windows组件-->选中internet信息服务来添加IIS组件,提示什么“无法复制STAXMEM.DLL”等,但文件明明存在.取消进入下一步,弹出“无法复制一个或多个文件,错误码0x4b8”,一路取消,最后只能生成一个"internet信息服务"图标,但双击弹出错误。
如果这样不行的话,请尝试以下解决办法:
开始 > 运行 > 输入 CMD >再输入以下命令:
esentutl /p %windir%/security/database/secedit.sdb
然后再安装一次,就可以解决
了。输入上述命令后,出现如下字样,则表示成功了,下一步可以安装IIS了!
C ocuments and SettingsVirtual Reality>esentutl /p %windir%/security/database
/secedit.sdb
Microsoft(R) Windows(TM) Database Utilities
Version 5.1
Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating REPAIR mode...
Database: C:windows/security/database/secedit.sdb
Temp. Database: TEMPREPAIR2004.EDB
Checking database integrity.
The database is not up-to-date. This operation may find that
this database is corrupt because data from the log files has
yet to be placed in the database.
To ensure the database is up-to-date please use the 'Recovery' operation.
Scanning Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|----|----|----|----|----|----|----|----|----|----|
...................................................
Integrity check successful.
Note:
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. |