win2003 sp2 安裝iis提示無法復(fù)制文件解決辦法[已測]
2024-08-29 03:08:35
供稿:網(wǎng)友
Windows2003打了SP2補丁再安裝IIS提示無法復(fù)制文件,或安裝了sp2的系統(tǒng),卸載iis再安裝也會提示無法復(fù)制文件,或找不到文件。 問題解決方法:
1,最后是在沒有打sp2補丁下就安裝iis,就不會提示無法復(fù)制文件了。
2,假如已要打上了sp2補丁安裝iis,出現(xiàn)提示無法復(fù)制文件的時候
(1),給他一個路徑是windwos/system32里面試試(一般情況下可以找到)
(2),如果不行的話就點擊開始->運行->
復(fù)制代碼 代碼如下:
esentutl /p %windir%/security/database/secedit.sdb
然后會有一個警告框,確定就可以了。
總結(jié),據(jù)查是因為microsoft的win2003打上sp2補丁后數(shù)據(jù)庫文件有損,具體原因可以在microsoft的官方網(wǎng)站上查到
由于要用asp寫點小程序,需要在自己的2003 sp2 的系統(tǒng)安裝iis,這個工作很簡單,就不描述過程了,沒想到安裝過程居然提示C:/WINDOWS/ServicePackFiles/i386里無法找到需要的文件,提示插入sp2光盤。找了張安裝這個系統(tǒng)時用的光盤,也沒管它是sp1還是sp2丟進光驅(qū),再來一遍。問題依舊。
納悶了。細細想了想,我這臺機子貌似安裝2003后打過次sp2的補丁吧,莫非和這個有關(guān)系。驅(qū)貓上網(wǎng),問了下google,居然真是這個問題,在某人blog里發(fā)現(xiàn)
立即按作者提供的方法操作
沒想到又提示錯誤
Microsoft Windows [版本 5.2.3790](C) 版權(quán)所有 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.
仔細一看,原來是路徑錯誤,無法找到數(shù)據(jù)庫。
這樣再來一遍
解決方法:開始-》運行-》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.
問題解決。