Tuesday, April 22, 2008

Setup cannot copy the file staxmem.dll - IIS configuration problems

This article is dedicated to those who are unable to configure IIS on Windows XP (SP2) and frequently encounter this error message whenever they try installing IIS,
Error message: Setup cannot copy the file staxmem.dll. Please insert the "Windows XP Professional Service Pack 2 CD".

Don' worry, i got bogged down with this, until recently, i found out cause and solution of this problem..

It happens when the secedit.sdb database file in your pc gets corrupted,

1.Click Start, click Run, type cmd, and then click OK.
2.Type in :
esentutl /p %windir%\security\database\secedit.sdb
This will repair the database file.
3. Try to install IIS again...believe me it works and IIS gets installed quickly !!!

Source: http://support.microsoft.com/kb/894351

Drop in your valuable comments :))


  1. Yup this works, brilliant!

  2. Wow, it works! Thank you very much for sharing. You saved my live :)

  3. Great post! Actually Microsoft article http://support.microsoft.com/kb/894351 provides wrong and lengthy resolution about this issue.This article wasted my one day without any resolution.

  4. thank you.. this code worked..

  5. *thumbs up* thanks a lot!