Re: Deleted IIS Sites keep coming back

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 10/25/04


Date: Mon, 25 Oct 2004 14:05:56 -0700

Delete the site in IIS manager UI. Then run "NET STOP IISADMIN /y". If
this operation succeeds, then you are sure that the change has been taken
and persisted.

Basically, when you make changes with the UI they are stored in memory and
flushed to disk later. If the process containing the changes is
crashed/killed before flushing the changes to disk, they are "lost". It's
basically like making edits in Word and then killing/crashing the Word
process before ever hitting Ctrl-S to save the document -- so the next time
you open the document, the changes are still missing.

How are you "restarting" IIS -- if you use IISRESET or "Restart IIS" from
the UI, it can and will kill the IIS processes necessary to restart IIS --
and this can lose changes. This happens in particular when you are running
other services on top of IIS which take a lot of time to shutdown/startup
(like Exchange) -- so when you are restarting IIS, you are invariably losing
any configuration changes made.

This is why I suggest you use NET STOP IISADMIN /y on the commandline to
shut down IIS. When you stop IISADMIN, IIS will flush changes to disk. And
it's not going to kill IIS to do so, unlike IISRESET. Thus, if it succeeds,
you know your changes are saved to disk.

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
<patels23@yahoo.com> wrote in message
news:96b3bf3d.0410210945.4edf259d@posting.google.com...
All,
I have a strange problem with IIS5.x. When i delete a site and restart
IIS the site keeps coming back. I have even gone as far as deleteting
the home directory that the deleted site point to.
Please help


Relevant Pages

  • Re: Permanently turn off Integrated Windows Authentication?
    ... directory and unchecking the "Integrated Windows Authentication" box, ... IIS services every night for offline backups. ... IIS attempts to write the change to disk using an algorithm to ... > IIS will eventually write the change to disk when you stop the IISADMIN ...
    (microsoft.public.inetserver.iis.security)
  • Re: Permanently turn off Integrated Windows Authentication?
    ... memory (since IIS will frequently take the change live) and NOT immediately ... IIS attempts to write the change to disk using an algorithm to ... IIS will eventually write the change to disk when you stop the IISADMIN ... restart, ...
    (microsoft.public.inetserver.iis.security)
  • Re: Removing the Intelligent Messaging Filter before upgrade to E2k3 S
    ... This sounds more like an IIS issue if we can't stop the service. ... IISAdmin set to start with the Local System Account? ... Microsoft Exchange Intelligent Message Filter -- Error 1921. ...
    (microsoft.public.exchange.setup)
  • Re: The SMTP virtual server stopped autoamtically
    ... The problem is SMTP virual server stopped automatically when the IISadmin ... The IIS Admin Service service terminated unexpectedly. ... also running SP2? ...
    (microsoft.public.exchange.admin)
  • Re: Permanently turn off Integrated Windows Authentication?
    ... as when it start it might overwrite the setting configure in IIS MMC. ... > directory and unchecking the "Integrated Windows Authentication" box, ... >> that I *know* that stopping IISADMIN will trigger the metabase flush. ... IIS attempts to write the change to disk using an algorithm to ...
    (microsoft.public.inetserver.iis.security)