Friday, November 04, 2005

Problem installing IIS on Windows XP SP2

I got a problem installing IIS in a machine with SP2. I received the error message "Setup cannot copy the file statxmem.dll".

The symptoms are described on kbid=894351 of support on Microsoft.
The problem is that the resolution described there has two methods for solving it, but none of them works.

They missed the output of the esentutl.exe /g Drive:\WindDir\security\database\secedit.sdb that I was getting:

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: TEMPINTEG2160.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.
Operation completed successfully in 0.375 seconds.

After googling it some time, I found that the real fix is to execute:
esentutl.exe /p Drive:\WindDir\security\database\secedit.sdb

Don't worry about the warning dialog that is shown. It will fix you the problem.

After that you will be able to install IIS.

Thanks to the google groups.