Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've just rebuilt my development machine and installed IIS. I then installed the Web Deployment tool and used this to restore my previously-backed-up websites to the clean machine. Unfortunately the restoration didn't work correctly/fully.

I couldn't easily correct the problem, so I decided to uninstall/reinstall IIS and recreate the sites manually.

I uninstalled IIS and rebooted, but there was still plenty of stuff left around such as various files in /windows/system32/inetsrv/ which I tried to delete manually (with limited success!).

I rebooted again and tried to reinstall IIS - it reported an error (no meaningful message) and requested another reboot. The event log includes the following errors:

The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://*:80/gallery for site 1. The site has been disabled.

and

Unable to bind to the underlying transport for [::]:80. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine.

I'd like to avoid another rebuild. Can I completely remove IIS, such that I can reinstall it from scratch? Or can I 'fix' the current setup so that IIS will reinstall over what is already there?

share|improve this question

2 Answers 2

This is not IIS Installation issue. Check this article KB 890015. Check the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters by default there is no ListenOnlyList

share|improve this answer
    
I'm afraid it is an IIS installation issue. I've resolved the two errors above (thanks to your link), but the problem remains - unfortunately when the installation of IIS fails there doesn't appear to be a meaningful error recorded anywhere. Elsewhere on the internets, other people with similar problems have resorted to a rebuild. This is the second time I've used the Web Deployment Tool and this is the second time it has failed me. :( –  CJM Apr 15 '10 at 10:22
up vote 0 down vote accepted

I finally managed to delete the conetents INETSRV folder, thanks to this page:

http://www.howtogeek.com/howto/windows-vista/how-to-delete-a-system-file-in-windows-vista/

I actually had to modify the cacls command slightly to handle folders rather than files (/T switch, if I recall correctly).

Once the folder was cleared, IIS could be reinstalled successfully.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.