Re: Deleted IIS Sites keep coming back
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 10/25/04
- Next message: Alex: "ASP Net - Server Application Error"
- Previous message: Pan Yang Bin: "ASP_0147 with time-taken decreased"
- In reply to: patels23_at_yahoo.com: "Deleted IIS Sites keep coming back"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Alex: "ASP Net - Server Application Error"
- Previous message: Pan Yang Bin: "ASP_0147 with time-taken decreased"
- In reply to: patels23_at_yahoo.com: "Deleted IIS Sites keep coming back"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|