在xp上安装IIS

来源:互联网 发布:svn网络服务器搭建 编辑:程序博客网 时间:2024/04/28 13:15
   太不容易了,终于把IIS给装上了。。。

   先是网上下载的IIS5.1的版本不能装,又是系统盘上的IIS文件安装时也是老提示错误。在其他电脑上都能装成功,就是我电脑上老出问题,真的是相当郁闷啊。。。我又按照MS的官方提示一步一步操作还是不行,咳,同时发现我的。NET FRAMEWORK是2.0版本,别人电脑上都有1.1版本,于是就又下了1.1版本装上(汗!),还是没有把IIS装成功(但是不知道前面的操作有没有用)。今天再次心血来潮,又百度了一下,本着死马当活马医的精神,按照网上的说法又试了下,发现竟然成功了。。。
 现在将网上说明的问题和解决方法贴下来,以防以后再走弯路。

安装win2003系统的IIS时,常常会遇到无法复制光盘或I386包中的一些文件

无法通过控制面板---->添加或删除程序----->点击添加或删除windows组件-->选中internet信息服务来添加 IIS组件,提示什么“无法复制STAXMEM.DLL”等,但文件明明存在.取消进入下一步,弹出“无法复制一个或多个文件,错误码0x4b8”,一路取消,最后只能生成一个"internet信息服务"图标,但双击弹出错误。
解决办法: 

开始 > 运行 > 输入 CMD >再输入以下命令:
esentutl /p %windir%/security/database/secedit.sdb

然后再安装一次,就可以解决了。



 
输入上述命令后,出现如下字样,则表示成功了,下一步可以安装IIS了!
C:Documents 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.安装win2003系统的IIS时,常常会遇到无法复制光盘或I386包中的一些文件

无法通过控制面板---->添加或删除程序----->点击添加或删除windows组件-->选中internet信息服务来添加 IIS组件,提示什么“无法复制STAXMEM.DLL”等,但文件明明存在.取消进入下一步,弹出“无法复制一个或多个文件,错误码0x4b8”,一路取消,最后只能生成一个"internet信息服务"图标,但双击弹出错误。
解决办法:  

开始 > 运行 > 输入 CMD >再输入以下命令: 
esentutl /p %windir%/security/database/secedit.sdb 

然后再安装一次,就可以解决了。



 
输入上述命令后,出现如下字样,则表示成功了,下一步可以安装IIS了!
C:Documents 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.