How to set "Default Web Site" to start automatically
am 01.08.2007 18:38:02 von clemente
I have a problem with my server that it will not start services manually,
however services will start (at startup) if they are set to automatic.
Until I figure out the problem, which could take some time, I want to get
the "Default Web Site" up.
What happened was that on my search for the problem I "stopped" the "Default
Web Site". Now it wont start up again.
IIS does start, i.e. all sites start except the "Default Web Site" which I
manually stopped.
How can I set that the "Default Web Site" starts automatically at startup.
Where is the setting (registry, file)?
Please help.
Re: How to set "Default Web Site" to start automatically
am 01.08.2007 19:29:31 von Kristofer Gafvert
Hello,
If you start the website, it should automatically start the next time the
service is started. Unless of course there is a problem starting the website
Whether a website is started automatically or not upon start of the
service is determined by the website's ServerAutoStart metabase property.
http://www.microsoft.com/technet/prodtechnol/WindowsServer20 03/Library/IIS/83862bfc-134c-46af-b541-c9116460718a.mspx
You can examine this property using Metabase Explorer from the IIS 6.0
resource kit. You can also change the value, but you shouldn't need to.
I am not sure however that i understand the problem. If the website
doesn't start when you try to start it manually, it wont start
"automatically" either (so i wouldn't recommend changing unrelated
settings since we need to solve the actual problem). So you need to figure
out why it does not want to start (do you see any error messages when you
try to start it, or anything in the event log)?
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
Clemente wrote:
>I have a problem with my server that it will not start services manually,
>however services will start (at startup) if they are set to automatic.
>
>Until I figure out the problem, which could take some time, I want to get
>the "Default Web Site" up.
>
>What happened was that on my search for the problem I "stopped" the
>"Default
>Web Site". Now it wont start up again.
>
>IIS does start, i.e. all sites start except the "Default Web Site" which I
>manually stopped.
>
>How can I set that the "Default Web Site" starts automatically at startup.
>Where is the setting (registry, file)?
>
>Please help.