"Setup Cannot Copy the File Staxmem.Dll" Error Message

What to Do When You Try to Install IIS on a Computer that is Running Windows XP Pro and Get a "Setup Cannot Copy the File Staxmem.Dll" Error Message

TechTips
When you try to install IIS on a computer that is running Windows XP Pro you might get this message:

Setup cannot copy the file staxmem.dll. Please insert the "Windows XP Professional Service Pack 2(3) CD".

And then when you put the Windows XP Pro SP2(3) CD in your CD drive, Setup cannot find the Staxmem.dll file. This problem can be fixed pretty easily with a simple command line execution.

So here is what you will do.

1. Click Start, Run, type cmd, and then click OK.

2. At the command prompt type esentutl /g C:\Window\security\database\secedit.sdb then hit enter (*note if this doesn't work then search for the secedit.sdb and enter that path into replace the C:\windows\etc....then it should work)

3. You will get an output that should look like

Microsoft(R) Windows(R) Database Utilities

Version 5.2

Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating INTEGRITY mode...

Database: C:\WINDOWS\security\database\secedit.sdb

Temp. Database: TEMPINTEG2680.EDB

Checking database integrity.

Scanning Status (% complete)

0 10 20 30 40 50 60 70 80 90 100

|---|---|---|---|---|---|---|---|---|---|

...................................................

Integrity check successful.

Operation completed successfully in seconds.

4. Try to install IIS again. If you still have problems then you will need to repair the local group policy with this command at the prompt

5. Click Start, Run, type cmd, hit enter, then type esentutl /p C:\Windows\security\database\secedit.sdb (*Note, again if this errors then make sure the path is the correct location for the secedit.sdb)

6. Put your windows disk in the drive and retry the install. It should work now.

I hope this helps you get past this pesky error. If you need additional assistance please comment and I will try to get back with you ASAP. Also Google can be you friend on errors such as this.

Published by TechTips

I am a senior systems engineer and enjoy writing articles about computers, technology and other electronics.  View profile

7 Comments

Post a Comment
  • Pradeep Nair12/23/2010

    Thanks a lot my Guru.. I was almost lost and this worked for me. So many MVPs and Techies out there could not solve this and u did it in a fly. Thanks again and I am placing this link in my blog, hope u don't mind. http://nairswindow.blogspot.com

  • Right in the mouche...3/21/2010

    even at Micro$oft they can't gave a solution to this... thanx dude!!!

  • Hemal2/3/2010

    Its really helpfull.

    Thanks for the usefull post like this.

  • Neil1/1/2010

    Thanks, for a really great tip, as it resolved my issue on the second go. The so called fix on Microsoft's website, was an absolute waste of time.

  • alliedtrustdiamond6/10/2009

    There are literally hundreds of credit repair websites and a lot of them try to guarantee success but the reality is most of them are just a waste of money. They use methods of repairing your credit you can do yourself if you simply google credit repair templates. Their process is very lengthy and requires months and even years to get a lot of things removed and sometimes the bad marks can come back as some companies are very persistent, especially if you still owe them money.

    The only guaranteed method to repair your credit is to pay off the old bills and get your derogatory balances to $0. "Well that isn't very helpful" is probably what you are saying. Since none of us just have cash laying around to do that there are other things you can do that are guaranteed to increase your FICO score practically overnight and start rebuilding your credit.

    It's actually very simple. Sign up for Millennium Secured Credit Card and send them $300. Buy $90 worth of groceries on it and make the

  • Anonymous3/19/2009

    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.

  • Shahid Ullah Khan2/25/2009

    Thanks for such a nice tip it works for me i have a really facing problem with iis, THANKS!!!!

Displaying Comments

To comment, please sign in to your Yahoo! account, or sign up for a new account.