问题解决方法:
1,最后是在没有打sp2补丁下就安装iis,就不会提示无法复制文件了。
2,假如已要打上了sp2补丁安装iis,出现提示无法复制文件的时候
(1),给他一个路径是windwos/system32里面试试(一般情况下可以找到)
(2),如果不行的话就点击开始->运行->
esentutl /p %windir%/security/database/secedit.sdb
然后会有一个警告框,确定就可以了。
总结,据查是因为microsoft的win2003打上sp2补丁后数据库文件有损,具体原因可以在microsoft的官方网站上查到
由于要用asp写点小程序,需要在自己的2003 sp2 的系统安装iis,这个工作很简单,就不描述过程了,没想到安装过程居然提示C:\WINDOWS\ServicePackFiles\i386里无法找到需要的文件,提示插入sp2光盘。找了张安装这个系统时用的光盘,也没管它是sp1还是sp2丢进光驱,再来一遍。问题依旧。
纳闷了。细细想了想,我这台机子貌似安装2003后打过次sp2的补丁吧,莫非和这个有关系。驱猫上网,问了下google,居然真是这个问题,在某人blog里发现
立即按作者提供的方法操作
没想到又提示错误
Microsoft Windows [版本 5.2.3790](C) 版权所有 1985-2003 Microsoft Corp.
C:\Documents and Settings\Administrator>esentutl /p windir/security/database/secedit.sdb
Microsoft(R) Windows(R) Database Utilities Version 5.2 Copyright (C) Microsoft Corporation. All Rights Reserved.
Error: Access to source database 'windir/security/database/secedit.sdb' failed with Jet error -1811.
Operation terminated with error -1811 (JET_errFileNotFound, File not found) after 147.500 seconds.
仔细一看,原来是路径错误,无法找到数据库。
这样再来一遍
解决方法:开始-》运行-》esentutl /p %windir%/security/database/secedit.sdb
提示:
C:\Documents and Settings\Administrator>esentutl /p %windir%/security/database/secedit.sdb
Microsoft(R) Windows(R) Database UtilitiesVersion 5.2 Copyright (C) Microsoft Corporation. All Rights Reserved.
Initiating REPAIR mode...
Database: C:\WINDOWS/security/database/secedit.sdb
Temp. Database: TEMPREPAIR44784.EDB
Checking database integrity.
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 1.984 seconds.
问题解决。