IISがインストールできない
- トラブルです
i386のファイルを指定すると「staxmem_dll をコピーできません」と言われる。
根性なしめ、そのへん何とかコピーしろよと思わなくも無いが、そうも言ってられないので調査開始
で、紆余曲折を経て、なんとか対応するナレッジを発見
文書番号:894351「Windows XP Professional SP2 を実行しているコンピュータに IIS をインストールするときにエラー メッセージ "staxmem.dll をコピーできません" が表示されることがある 」
http://support.microsoft.com/kb/894351/ja
タイトル長っ、まぁいいか
要するに「Secedit.sdb」と言うデータベース ファイルが破損しているかもしれないので
チェックとリカバリと場合によっては修復か再生成の必要がると、こういうこと
早速実行してみる
- チェックの実行
C:\>esentutl /g C:\Windows\security\database\secedit.sdb
Microsoft(R) Windows(TM) Database Utilities
Version 5.1
Copyright (C) Microsoft Corporation. All Rights Reserved.Initiating INTEGRITY mode...
Database: C:\Windows\security\database\secedit.sdb
Temp. Database: TEMPINTEG3764.EDBChecking 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.
Operation completed successfully in 1.0 seconds.
どうもよろしくないらしい
- sdbの修復
「This operation may find that this database is corrupt」と表示されたので修復か再生成を行う、先ずは修復
esentutl /p C:\Windows\security\database\secedit.sdb
C:\Documents and Settings\Administrator>esentutl /p C:\Windows\security\database
\secedit.sdbMicrosoft(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: TEMPREPAIR1252.EDBChecking 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 8.641 seconds.
ここでIISのインストールを施行、動かなきゃ再生成になるらしい
まぁ結果としては、インストール成功、じゃあとりあえずウチはOKだな
- 忘れずにASP.NETもインストール
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -i
ASP.NET (2.0.50727) のインストールを開始します。
................................................................................
...
ASP.NET (2.0.50727) のインストールが完了しました。
完了