• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 585
  • Last Modified:

IIS Cannot Uninstall

My IIS got corrupted.  I am trying to unstall it but it cannot uninstall.
On XP I did the following:
1.  Disable the IIS service
2.  reboot
3.  delete wwwroot
4.  add windows component - iis
when it gets to 80% it gives me this error:'

Error writing to encrypted data to the Web Servers configuration database(metabase)
0x8009000f=object already exist
Press Retry or Write Unencrpted to write the data unencrypted...

What to do???


many thanks,
0
ramrocket
Asked:
ramrocket
  • 15
  • 14
  • 3
  • +1
1 Solution
 
ComputronCommented:
If you remove this folder
%windir%\system32\inetsrv
That should fix the error you're getting
then reinstall IIS
0
 
ramrocketAuthor Commented:
I cannot delete / rename the dir because a program is using it.  what program?  IIS Admin service is disabled
0
 
ComputronCommented:
Have you tried in Safe Mode ?
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
ramrocketAuthor Commented:
I manage to delete all files/folders except 3 dlls that wont delete.
1. aqadmin.dll
2. aqueue.dll
3. seos.dll

how do I kill these dll.  I delete them and they just comeback
0
 
ComputronCommented:
You won't get rid of those, now just reinstall IIS
0
 
ramrocketAuthor Commented:
I reinstall and same error.  stops @ 80% and

Error writing to encrypted data to the Web Servers configuration database(metabase)
0x8009000f=object already exist
Press Retry or Write Unencrpted to write the data unencrypted...
0
 
ComputronCommented:
You are logged on with appropriate permission, correct ?

What errors are you recording in your event logs ?

Deleting the metabase as we did, should have allowed you to reinstall IIS so we must have another issue here.
0
 
ramrocketAuthor Commented:
where is the metabase??
0
 
ComputronCommented:
C:\WINDOWS\system32\inetsrv
0
 
ramrocketAuthor Commented:
I deleted everything in this dir exept for the 3 dlls metioned above
0
 
ComputronCommented:
How about the event viewer or permissioning ?

Lets try one other thing

Navigate to the following folder

%Windir%\Profiles\All Users\Application Data\Microsoft\Crypto\Rsa\MachineKeys directory

Rename the Machinekeys folder to Machinekeys1

then try to reinstall IIS
0
 
ramrocketAuthor Commented:
no profiles dir
0
 
ComputronCommented:
C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\Rsa\MachineKeys directory
0
 
ramrocketAuthor Commented:
it looks like it has installed iis but need to verify if it is working.  I have to uninstall explorer then reinstall.  how do i verify that iis is working properly??
0
 
ComputronCommented:
open a browser and go to http://localhost/ and see if the server reports back an error of 400 orsetup a site and page then http://localhost/somepage.html
0
 
ramrocketAuthor Commented:
no go.  localhost is not there.  I also try to bringup inetmgr.exe and it complains:
failed to initialize snapin.  

I'll increase the points, thanks for tyring to help me on this.
0
 
ComputronCommented:
Is the service started ?
0
 
ramrocketAuthor Commented:
yes
0
 
ComputronCommented:
Stick a page in your inetpub folder and put the following in a browser

http://my_server_name/mypage.html

replace my_server_name with the name of your computer
replace mypage.html with the page name
0
 
ramrocketAuthor Commented:
page not found
0
 
ComputronCommented:
I need a little more info or we'll be here all night

What is the URL you used ?
If you use something different then htm you'll have to enter the document type in the IIS settings

Also, lets try to reregister the inetmgr dll file
open a command prompt and type regsvr32 C:\Windows\system32\inetsrv\inetmgr.dll
then try to run the snapin
0
 
ramrocketAuthor Commented:
http://192.68.0.3/test.htm and inetmgr.dll is registered and snapin works now.  now just need to get the localhost to work.  almost there.
0
 
ComputronCommented:
That URL is not correct

use http://my_server_name/mypage.html

replace my_server_name with the name of your computer

your computers name can be found in control panel, system, computer name tab

in any event, sounds like everything is working now

you may just want to go with setting up a site
0
 
ramrocketAuthor Commented:
that is the ip address of my machine.  i also place the machine name and same error
0
 
ComputronCommented:
do you have a default site setup ?
0
 
ramrocketAuthor Commented:
that is the problem.  i dont have any item in the treeview - ftp site, default site, etc.  will look at this tommorow.
0
 
ComputronCommented:
I had no way of knowing that

There seems to still be a problem with the metabase. Shut the service down and try to reinstall again

That file should reside in windows\system32\inetsrv
0
 
Cherukuri30Commented:
If you have any restore point in your XP then restore it to the previous state. If not you have to a clean install of XP again
0
 
ramrocketAuthor Commented:
I have already done a restore recovery for xp since my computer crash.
0
 
Cherukuri30Commented:
Then you have no option other than cleran re-install of XP i guess.
0
 
kevp75Commented:
first things first.  When uninstalling IIS you need to make sure all services are stopped.  Also, make sure windows unloads DLL's from memory, otherwise you will get no-where.

from the comman prompt  (Start->Run- type in cmd hit enter)

Type:
net stop w3svc ->Hit Enter
net stop msftpsvc ->Hit Enter
net stop smtpsvc ->Hit Enter

see here for how to find out what other services are running for your IIS
http://support.microsoft.com/kb/271362/EN-US/

once all the services are stopped, go through the Control Panel and remove IIS.

Restart the machine.

Once the machine is back up, go and re-install IIS through the control panel
0
 
kevp75Commented:
you do not need to do a clean install of the OS.

If the uninstall fails after trying my suggestions, hit CTRL-ALT-DEL.  and list here what processes are running at that time.  There may be a service that is still running for IIS
0
 
ramrocketAuthor Commented:
I can't believe this.  to uninstall and reinstall IIS I had to reinstall the operating system.  thanks guys for all your help.  
0
 
Cherukuri30Commented:
I do agree this is something viet to re-install the OS just to uninstall IIS. It is not only with IIS there some other issues in XP which forces you to re-install the entire OS to get it up and running. There might be solutions for those issues also. but in these situtations when we are not sure it is better to have a clean re-install
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 15
  • 14
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now