Hello All:

I have a weird problem- after adding a new web site via the MMC to the
server, it adds fine, runs OK but then at some point it just disappears
from the MMC/Metabase like it was never added.

Does anyone have any ideas as to why this would be occurring and how to
solve this?

Thanks!

Jason

Re: IIS 5.0 - Web Sites Disappear from Metabase/MMC by David

David
Tue Apr 19 23:19:36 CDT 2005

Sounds like the classic issue where some IIS configuration is set in the
MMC, but inetinfo.exe is crashed by some code before it could commit those
changes to the metabase.bin on disk -- hence, you lose the settings. NT
Services will restart inetinfo.exe, but your configuration would be lost.
It's like if you typed something in Word, then Word crashed before you hit
"Save", and when you restarted Word, you've lost what you just typed.

How to solve this is two-fold:
1. Make sure your changes make it to disk. IIS5 had a queuing mechanism for
metabase changes that doesn't flush changes immediately to disk, so you can
commit the changes only by restarting IISADMIN service.
2. Figure out what is crashing inetinfo.exe and stop that from happening
again.

With IIS, this is addressed by:
1. Adding a "Save configuration to disk" option in the MMC such that you can
force the save to happen immediately
2. User code does not run in inetinfo.exe by default, so crashes are rare,
if ever

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
<jkorkin@gmail.com> wrote in message
news:1113912557.400747.289650@z14g2000cwz.googlegroups.com...
Hello All:

I have a weird problem- after adding a new web site via the MMC to the
server, it adds fine, runs OK but then at some point it just disappears
from the MMC/Metabase like it was never added.

Does anyone have any ideas as to why this would be occurring and how to
solve this?

Thanks!

Jason



Re: IIS 5.0 - Web Sites Disappear from Metabase/MMC by jkorkin

jkorkin
Wed Apr 20 06:28:03 CDT 2005

I have a monitoring script that restarts IIS (iisreset /RESTART) --
would that be causing this issue?


Re: IIS 5.0 - Web Sites Disappear from Metabase/MMC by David

David
Thu Apr 21 00:50:47 CDT 2005

Yes, that is a possible cause.

When IISRESET runs and tries to restart IISADMIN, if it thinks it is "hung"
(i.e. something took a while to shutdown), it will kill the process (which
would be just like a crash).

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
<jkorkin@gmail.com> wrote in message
news:1113996482.970727.74740@g14g2000cwa.googlegroups.com...
I have a monitoring script that restarts IIS (iisreset /RESTART) --
would that be causing this issue?