IIS installation problem with XP SP2

Having problem installing IIS with SP2? Keep getting file not found dialog box? No matter, which source installation CD or path you browse to, the system still claims that it can't copy the file? Well, try this new KB.
You may receive the "Setup cannot copy the file staxmem.dll" error message when you try to install IIS on a computer that is running Windows XP Professional with SP2
http://support.microsoft.com/?id=894351

Published Mon, May 16 2005 17:07 by bernard
Filed under: ,

Comments

# bob said on 15 December, 2005 03:51 PM
I ran the integrate to get combine the xp and xp sp2 files. That went fine. Now when I try to install IIS, it now says it cannot copy the file STAXMEM.DL_ after I tell it to pull from my newly combined file location.

Now what?
# bernard said on 19 December, 2005 11:06 PM
Hi Bob,
Since you encounter problem with method 2, have you try method 1. I have actually tested method 2 before and it works fine. did the integration of sp2 and original xp cd went well?
# Chris said on 12 January, 2006 09:28 AM
Ive been trying frantically for 2 days to apply these solutions,neither method seems to work,not even Microsoft has any vaiable solutions.
I'm running a 2.8ghz Pentium 4,XP Pro, 1gig of memory.
Only course open is a re-format, not forgetting to install IIS first off !!
Thanks Bill Gates for bug riddled security on IIS(As a developer using ASP .NET that failed miserably too and had to abandon an application I was writing for a client!).
Any saviours out there can force this useless OS to work according to the solutions ?
# qbernard said on 14 January, 2006 06:41 AM
Hi Chris,
I'm sorry to hear that you encounter many problems with IIS. Are you able to run IIS now? are there any error msgs when you integrated the sp2 with the original installation cd? are you seeing the same 'file not found' during installation?
# BasCN said on 27 January, 2006 01:30 PM
Hi,

I've the exact same problem as written above. Only I don't have the CD with WindowsXP SP2 Professional. I bought a brand new laptop and Windows was pre-installed.

What can I do? Please help me out

Thanks
# qbernard said on 30 January, 2006 03:14 AM
Sounds like your original installation media has been integrated with SP2. What's the status of the esentutl checking? error ?
# gavish said on 05 February, 2006 02:09 AM
Hi I have the same problem with a new computer i have. It is a fresh installation of win xp sp2, and I can't install the iis. i already asked for a new win xp cd, and tried the 2 methods.

please if some one can help.
# gertjan said on 28 March, 2006 08:57 AM
same for me, new computer XP with integrated SP2 installed.
don't get IIS to work properly
# qbernard said on 29 March, 2006 01:33 AM
You have tried both the workarounds and none work?
Do you have the installation media CD? which file you get prompted?
# Rachel said on 04 April, 2006 04:25 PM
I am also getting the same problem. I ran through method 2 and everything went fine until the last command. At xpsp2 ... It does not seem to recognise that command and tells me that command does not exist???
What am I doing wrong?
# qbernard said on 04 April, 2006 11:28 PM
You need to type it at the XP SP2 CD drive path, where do you get your SP2 ? is it a full copy ? you should get the package here, then extract it... http://www.microsoft.com/downloads/details.aspx?FamilyId=049C9DBE-3B8E-4F30-8245-9E368D3CDB5A&displaylang=en
# rashmi said on 11 April, 2006 05:21 PM
I have installed IIS but It is not running and If I try to start it manually It's giving error
# qbernard said on 11 April, 2006 10:43 PM
What error ? file not found? Have you look at the KB?
# Matias Haldmeyer said on 26 April, 2006 03:39 PM
An international bug, im from Argentina, I've the legal WinXp sp2, but it doesn't work. I tried several times, I even try to get the files from another PC that had IIS alredy working but it didn't work too. now im dowloading the SP2 as qbernard say. If it work you'll have news. thanks
# qbernard said on 26 April, 2006 10:12 PM
Thanks for the update Matias
# Robin Irwin said on 09 May, 2006 07:15 AM
I tried method 2 in the KB article and have had no luck. When I integrate the installation I get a message that this hasn't been successful. I think this is because I have installed updates (automatic updates to on). In our organisation this is not recommended - now I see why!
# Nadxelle Velasco said on 16 May, 2006 11:35 AM
I have a brand new computer with XP Professional SP2 and I have this instalation disk but I don't have the Windows XP Professional 'Only' disk so I can't try the method 2.
I've already try with the method 1 but was unsucessful.
What can I do know?
Do I have to buy a Windows XP Professional without the SP2??
Is there a method to install the IIS in another way??

I REALLY need Help!!!
# qbernard said on 18 May, 2006 12:42 AM
Nadxelle,

If your machine is already build with SP2, I don't think this apply to you as your source should be already integrated with SP2.

I have not seen a pre SP2 build having this problem before. you got the same prompt during installation?

if yes, you might want to talk to the pc vendor and see if they can help you as your source should be already integrated with sp2.
# zo said on 15 June, 2006 07:37 PM
thanks for posting this! It worked!
# Puja said on 24 July, 2006 03:14 AM
Hi,
i have an problem in installing IIS.After installing IIS, the default web site(control panel->Admin tools->IIS)under computer name is showing stopped.When i try to run it manually, it is displaying internal error. How can i solve this problem.Please suggest.
Thanks.
# qbernard said on 24 July, 2006 03:33 AM
Can you post the error message here? do you see log entries in event viewer as well?
# Ajay Malhotra said on 25 July, 2006 05:57 AM
Sir,
I have installed IIS
The problem is i get "Default Web Site(Stopped)"

When i start the Default web site it gives a message saying service cannot be started

when i restart iis it again gives the message as the service cannot start

my operating system is win xp proffessional service pack 2

Please give me the solution
# qbernard said on 25 July, 2006 09:33 PM
Ajay, what's the error msgs in event log? don't think this is related to sp2. to speed up the troubleshooting, pls post it to public IIS newsgroup or www.iis.net.
# afsar ali shah said on 06 August, 2006 02:54 AM
i have bought p4 dell pre installed win xp with sp2 ...
when i tried to install ISS i was astonished to see there is no option of ISS (Add/Remove windows components)...

plz tell me how to do it
my email is ask4ali@hotmail.com
# qbernard said on 07 August, 2006 01:20 AM
Shah,
Are you using XP Home, if it is - then IIS is not available on XP Home.
# Renato said on 13 August, 2006 08:11 AM
Hi there, I am utterly confused.I have sp2 installed by virtue of Windows Update.  I therefore don't have a CD with sp2, which is what it is asking when I go into Add Components in order to install IIS.  Thanks to Google, I have read other people's attempts to rectify this problem.  I have just now tried
esentutl/d:\windows\system32\security\database\secedit.sdb.
I get error message
Error:Access to source database':\windows\system32\security\database\secedit.sdb'   failed with jet error -1022.  operation terminated.

Would appreciate very much if someone out there could help me.  Thank you.

Regards,   Renato.
# qbernard said on 16 August, 2006 12:53 AM
Are you logon as local administrator?
# Renato said on 19 August, 2006 07:28 AM
Can someone please help me? Am desperate.
Regards, Renato
# qbernard said on 20 August, 2006 01:29 AM
Renato, as mentioned in previous reply. are you login as local administrator. you error is saying the attempt to fix the installation database failed - access denied.

if you need fast response. post it to public IIS newsgroup, there'll more experts helping you round the clock.
# Renato said on 22 August, 2006 11:25 AM
qbernard. thank you for your responses. I am now showing my lack of sophistication, but I am confused. I am logon as administrator.
Settings/UserAccounts reveal that I am the administrator, says "Renato Computer Administrator".  What do I do??? Regards, Renato.
# qbernard said on 22 August, 2006 09:27 PM
Ok. I think this could be path issue. where is your windows directory resides? drive c or d?
ensure you are typing:
C:\WINDOWS\security\Database>esentutl /g secedit.sdb
# Renato said on 27 August, 2006 11:33 AM
qbernard, thank you for your response; yes my Windows is on "c" drive.As you advised,I typed
C:\Windows\security\Database>esentutl/g secedit.sdb .   I get reply "The system cannot find path specified".  What is  'g' for ??
I then tried:
esentutl/C:\Windows\security\database\secedit.sdb    and I get:
Usage error Invalid mode
Modes of operation
Defragmentation
Recovery
Integrity
Repair
Checksum
Filedump
Press a key for more help
d= defragmentation k=Checksum  G=Integrity    etc......
When I press any of these letters, I get message "..... is not recognised as internal or external command.

Also have been reading the article (id=894351
revision 6) explaining Method 1 and 2 as possible solutions.  Point 4 of method 2 requests sp2 CD which I don't have as stated in my original contact.
Any help you can give me would make me happy.I need IIS because I am learning Dreamweaver 8 ASP Coldfusion and PHP.
I do like to figure things out for myself but this problem is beyong my comprehension.
Even if that statement worked, what would I needed to have done afterwards ?? Would method 1 have been applicable?
I trust you can continue with your replies.

Regards Renato.  
# qbernard said on 27 August, 2006 09:26 PM
The /g is for integrity check. I think again you have type the command wrongly. make sure it is esentutl /g ...... space between esentutl and /g follow by the database name.

you need to install IIS before you can play with dreamweaver, coldfusion and php. so after you fix the database, you then install IIS.
# Renato said on 28 August, 2006 05:40 AM
qbernard, Thank you.   I retyped:
C:\Windows\security\Database>esentutl /g secedit.sdb
making sure of space between esentutl and /g.
I get reply:
"C:\Windows\security\Database'  is not recognised as an internal or external command, operable program or batch file
Regards Renato
# qbernard said on 28 August, 2006 11:29 PM
Arrghh... sigh! You don't have the esentutl.exe ? That's funny, it should be located at \windows\system32\ do you have the file? this should be build in for XP machine. you don't have it? but previous I thought you have and you got the 'usage error invalid mode' error?

You need to go to command prompt first, then navigate to the directory.
a) start menu - all programs - access0ries - command prompt.
b) inside the command prompt, navigate to the database folder "cd\windows\security\database"
c) only then you run the command -
esentutl /g secedit.sdb

got it?
# Renato said on 29 August, 2006 08:21 AM
dbernard, do I now have to apologize for my low level knowledge of Windows technology ??
I' m doing my best. Fom my point of view, I was only doing what I understood you were telling me to do.
Ok, I now did as per your last message. I got message:
Integrity check successful
Operation completed successfully in 0.516 seconds.
Gee, dbernard, now what?? According to aricle id 894351 vers. 6, having got that message means I'm to perform method 2. But then point4
says to load sp2 CD ???? What do I do ??
Gee this is all starting to get like a book.   Regards Renato.          
# qbernard said on 30 August, 2006 01:58 AM
Ok. if you don't have CD, you get the full package.
http://www.microsoft.com/downloads/details.aspx?FamilyId=049C9DBE-3B8E-4F30-8245-9E368D3CDB5A&displaylang=en

then extract the file to a folder. and follow the steps. except using the cd drive, you use the new folder name.

before you do that. can you try reinstall IIS again. does it prompt for cd2 again?
# Renato said on 31 August, 2006 11:43 AM
Hi qbernard, thank you for your response.I felt confident of an imminent resolution. I did, as you said, first try to re-install, and yes it did prompt for CD2 again. Then I did:
1 (a) Start, Run, typed CMD, OK
 (b) typed cd \
 (c) md winxp
 (d) cd winxp
 (e) md i386
2. Loaded original vers. of XP pro. into my CD (drive="D")
3. typed: xcopy /E /I /V D:\i386\*.* /s Drive:\winxp\i386

I got message 'invalid path 0 files copied'
I tried the process again, from 1 (b).
After 1 (c) I got : a subdirectory or file winxp already exists.
After 1 (e) I got : a subdirectory or file i386   already exists.
When I  redid (3), I receved same "invalid path" message
again.
If you can help me, qbernard, thank you. I downloaded that file at school and extracted it using winzip,it created
folder called "i386', I put it on my usb memory stick, at home I access it on my "G' drive. For point 5 of article (id = 894351)
does that mean I type in "G:\i386" , given what you said in your previous reply ??
Regards Renato.
# qbernard said on 31 August, 2006 07:03 PM
In your case:
where do you create the winxp folder in step 1?  drive c: if yes, then it should be:
"xcopy /E /I /V D:\i386\*.* /s c:\winxp\i386"

after that since you don't have the sp2 cd at drive D. you will go to g:\i386 at step 5.
then
"xpsp2 /integrate:c:\winxp"

good luck.

# Renato said on 01 September, 2006 11:43 AM
Thank you, qbernard, for your response. The "xcopy" statement worked, copied 6511 files, then for step 5, I typed      "g:\i386"
I got answer that "g:i386 not recognised as internal or external command". I tried:   "g:"   and it went to  "G:\", and then I typed "i386" and got same reply that i386 was not internal or external command.
I understand that I need to navigate to "G:\i386" and then type in the statement "xpsp2 /integrate:c:\winxp" ,

but, how do I get to "g:\i386" ?
I remember the similar problem I had before, refer-your reply August 28, where I needed to navigate to c:\windows\security\Database before typing the "esentutl" command.Given that "cd\Windows\security\Database" was the answer, I tried: "gd\i386",that sounded OK to me, but I got "system could not find path specified".  
Regards, Renato.

# qbernard said on 03 September, 2006 06:43 AM
You need to catch up on some basic windows navigation knowledge. when I said "g:\i386", you need to navigate to that folder at command prompt.
so again
a) g:
b) cd i386
c) then xpsp2 /integrate:c:\winxp

# Renato said on 04 September, 2006 11:50 AM
qbernard, thank you for your responses, you must be losing patience with me, I am losing patience with me. After the "xcopy" statement, screen read: " 6511 files copied C:\winxp> " I type in "g:" the screen read: "G:\>" then I type in "cd i386" the screen read: "G:\i386" then, I type in "xpsp2 /integrate:c:\winxp" and the screen now says "xpsp2 is not recognised as an internal or external command, operable program or batch file G:\i386> " I will email you the screen dump. Regards Renato
# qbernard said on 05 September, 2006 08:25 AM
Arrghh.. you would have to try this... since you are using the network version not sp2 cd. http://support.microsoft.com/?id=889719 do it at the g: drive the c:\bin should be c:\winxp. it should be "update.exe /integrated:c:\bin"
# Renato said on 05 September, 2006 02:14 PM
qbernard, I am thankful that you have responded to my queries, but this is all getting me down, I'm losing my hair and its going grey, and I' m too young for that to be happening to me. Will this ever come to a conclusion? I'm sorry, I don't understand your latest reply. Please I don't wish to appear to be disrespectful. The last 2 words of the heading of Article 889719 refers to "windows 2000", point 2 says ".......on a computer that is running on windows 2000". I saw this and I'm going nuts, as my computer is running not on windows 2000 but on XP. And what is it, that I do on "g drive" ?? Is it the "update,exe" statement ?? Also if "c:\bin" should be "c:\winzip", why is "c:\bin" at the end of the statement, and not "c:\winzip" . Also how will the instructions hitherto, affect what needs to be done now? I am not a fellow microsoft specialist, please keep in mind that. Regards Renato
# Sceece said on 06 September, 2006 07:34 AM
I’m running XP Pro SP2. Loaded IIS a couple of weeks ago to check my ASP pages before uploading to server. Has been working fine. It’s gone – I check under control panel>admin tools and IIS has disappeared and I am unable to check ASP pages. Then thought I would go through add programs>window components, tick the boxes and reinstall. It goes though the motions but there is still nothing under admin tools. I then deleted inetpub and all files contained, went through above step and still no joy. I have restarted after each time but nothing seems to work. Can you give me any idea?? Thanks Scott
# qbernard said on 06 September, 2006 09:48 PM

IIS gone? installation any error ? check the iis6.log at %windir% and look for failed entries.

# qbernard said on 06 September, 2006 09:54 PM

Renato,

I will try my best, been busy. Now it's typo error. it should be "update.exe /integrated:c:\winxp"  according to where you copy the source file. what you are trying to do is integrate the sp2 to the original installation file. and hope this will solve your issue and allow you to install IIS. That article shows how to do it in w2k, but I believe it applies to xp as well. coz you got the downloaded sp2 not SP2 CD. I think you should have update.exe there. it's been a while I applied sp2. I don't have the file now.

Anyway, i know this has taken lot of times. if you need quick and fast response, try post this to public newsgroup - google this online. or contact Microsoft support at your local area. Experts there will help you realtime.

# Renato said on 11 September, 2006 10:00 AM
Hi qbernard, again thank you for being kind in answering me.I tried and tried and tried. Regarding article 889719, I already had on "c:\winzip" copy of XP, and on "G:\i386" I had SP2, so I proceeded to point 3. I performed point 4 ("G:" then "cd i386") After performing point 5, I got "WindowsXP-KB835935-SP2_ENU.exe /x" with that all too familiar message "is not recognised as an internal or external command...............or batch file". Also, given that I have SP2 on "G:\i 386" what do I put for points 6 and 7 ? I don't understand points 6 and 7. What am I doing wrong ? Regards Renato Regards Renato
# wannabekenobi said on 12 September, 2006 06:09 AM
Hi guys, i had the same problem, and i can see qbernard is slightly frustrated with whats going on, so maybe i can lend a hand, im not sure if its relevant but i found out that the integrate switch doesnt always work, microsoft has an article on methods How to integrate Windows XP Service Pack 2 files into the Windows XP installation folder here: http://support.microsoft.com/kb/900871/ hope its useful
# Rafael said on 14 September, 2006 06:45 PM
Hello, qbernard. Well, I have similar problems. I followed the steps in Method 2 up to #5, but there is no xpsp2.exe anywhere on the CD, nor for that matter anywhere on my windows xp drive, just xpsp2res.dll. The CD does say "Includes SP2". Here is a screen dump: D:\I386>DIR XPSP2* Volume in drive D is VRMPFPP_EN Volume Serial Number is 60B7-C3F9 Directory of D:\I386 08/04/2004 05:00 AM 468,411 XPSP2RES.DL_ 1 File(s) 468,411 bytes 0 Dir(s) 0 bytes free D:\I386>XPSP2 'XPSP2' is not recognized as an internal or external command, operable program or batch file. D:\I386>dir update.exe Volume in drive D is VRMPFPP_EN Volume Serial Number is 60B7-C3F9 Directory of D:\I386 File Not Found Thank you in advance for any help.
# Rafael H said on 14 September, 2006 07:05 PM
Hello, qbernard. Thank you for dealing with this problem. I am having similar one, except i don't even get to running xpsp2.exe because there is no such file anywhere on the SP2 CD, it does say "Includes Service Pack 2" on the CD itself. Thank you in advance for any insight! screen dump searching for the file D:\I386>DIR XPSP2* Volume in drive D is VRMPFPP_EN Volume Serial Number is 60B7-C3F9 Directory of D:\I386 08/04/2004 05:00 AM 468,411 XPSP2RES.DL_ 1 File(s) 468,411 bytes 0 Dir(s) 0 bytes free D:\I386>XPSP2 'XPSP2' is not recognized as an internal or external command, operable program or batch file. D:\I386>dir update.exe Volume in drive D is VRMPFPP_EN Volume Serial Number is 60B7-C3F9 Directory of D:\I386 File Not Found
# qbernard said on 15 September, 2006 01:09 AM

LOL. Thanks WannabeKenobi.

Renato, can you refer to the new KB?

http://support.microsoft.com/kb/900871/

since you already extract all the files, just follow method 2 at step4 and make sure you enter the correct path...

I've been busy for past few days, going to travel again...

good luck.

# qbernard said on 15 September, 2006 01:10 AM

Rafael, can you follow my previous comment to get the xp-sp2 and integrated with orginal installation source first, then retry your installation.

# Renato said on 26 September, 2006 10:27 PM
Success, success, success. Thank you qbernard for your help and patience, I hope I didn't annoy you too much. Thank you WannabeKenobi for taking the time and submitting your reply. Thanks guys. Regards, Renato.
# qbernard said on 27 September, 2006 09:39 PM

Woohooooooooo.... Glad you have nailed it down.

News

Search

Go

This Blog

Tags

Archives

IIS Sites

MVPs - MVPs

IIS Related

Syndication