Force Uninstall?
am 27.09.2007 01:08:24 von Pablo Montilla
Hello, I've got a messed up installation of IIS7 on my development
machine. I really don't know how it happened, it all started with a 53Kb
applicationHost.config file with that only contained 0 bytes, and now I
can't uninstall and reinstall to continue my work.
I've tried uninstallation but the appwiz.cpl applet gave me a generic
error and failed to uninstall...looking in \Windows\logs\cbs\cbs.log I
found that the error was related to an appcmd lock, and tried to fix it
touching machine.config...then that gave other error, etc. I've spent all
this day trying to work on this with no luck.
Any way to completely remove IIS7 so I can reinstall? If that's not
possible, can anyone please give me the correct entries to the
section in machine.config that refer to
system.applicationHost and system.webServer?
I'm desperate right now!!
Pablo
--
Have I kept you waiting?
-- One of the world's worst questions
-- Jane Goodsell
Pablo Montilla
www.odyssey.com.uy
Re: Force Uninstall?
am 27.09.2007 09:06:39 von David Wang
Don't know why you're touching machine.config.
for IIS exist in applicationHost.config, which
happens to be the file that is corrupted on your machine and
preventing installation/uninstallation.
I know you said you don't know how it happened, but you may want to
figure out how the corruption happened because it'll either keep
messing up your IIS7 installations or it may corrupt other data files
on your computer, both of which are bad. Perhaps you have failing
hardware.
This may help. I could have sworn that IIS7 setup makes a backup of
applicationHost.config to cover for this situation.
allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
overrideModeDefault="Deny" />
overrideModeDefault="Deny" />
overrideModeDefault="Deny" />
overrideModeDefault="Allow" />
overrideModeDefault="Allow" />
overrideModeDefault="Deny" />
allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
>
>
allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
overrideModeDefault="Deny" />
overrideModeDefault="Deny" />
overrideModeDefault="Deny" />
name="clientCertificateMappingAuthentication"
overrideModeDefault="Deny" />
overrideModeDefault="Deny" />
name="iisClientCertificateMappingAuthentication"
overrideModeDefault="Deny" />
overrideModeDefault="Deny" />
overrideModeDefault="Allow" />
>
allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
overrideModeDefault="Allow" />
>
overrideModeDefault="Deny" />
>
overrideModeDefault="Allow" />
overrideModeDefault="Deny" />
overrideModeDefault="Allow" />
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Sep 26, 4:08 pm, "Pablo Montilla" wrote:
> Hello, I've got a messed up installation of IIS7 on my development
> machine. I really don't know how it happened, it all started with a 53Kb
> applicationHost.config file with that only contained 0 bytes, and now I
> can't uninstall and reinstall to continue my work.
>
> I've tried uninstallation but the appwiz.cpl applet gave me a generic
> error and failed to uninstall...looking in \Windows\logs\cbs\cbs.log I
> found that the error was related to an appcmd lock, and tried to fix it
> touching machine.config...then that gave other error, etc. I've spent all
> this day trying to work on this with no luck.
>
> Any way to completely remove IIS7 so I can reinstall? If that's not
> possible, can anyone please give me the correct entries to the
> section in machine.config that refer to
> system.applicationHost and system.webServer?
>
> I'm desperate right now!!
> Pablo
>
> --
>
> Have I kept you waiting?
> -- One of the world's worst questions
> -- Jane Goodsell
>
> Pablo Montillawww.odyssey.com.uy
Re: Force Uninstall?
am 27.09.2007 16:29:25 von Pablo Montilla
Many, many thanks. I messed with machine.config cause I had no luck with
applicationHost.config..;)
Well, It seems to be working now. I've run a chkdsk and some errors were
corrected..don't know if that was the cause tough. I had to create the
'Temporary ASP.NET Files' directory and give NETWORK SERVICE full control
access...that doesn't seem to be right, but it made it work at last.
Anyway, many thanks for your help,
Pablo
--
-- You may be redneck...
If your combadge gets AM radio.
Pablo Montilla
www.odyssey.com.uy