Automatic Restart

Results 1 to 2 of 2

Thread: Automatic Restart

  1. #1
    Join Date
    Dec 1969

    Default Automatic Restart

    Hi, is there a way for the iis to automatically restart itself when it stops?

  2. #2
    Join Date
    Dec 1969

    Default RE: Automatic Restart

    There is no way that I&#039;ve ever seen.<BR>Waht you or someone for you can do is write a script that would run in a loop all the time and check for the status of the WWW service and run something like "net start www"( i can&#039;t remember the right service name). <BR>This loop should run forever and check on IIS&#039;s status every x minutes. to do this all you have to do is have it sleep for a few seconds.<BR>Not too hard to do.<BR>However such measures are usually means of last resort, IIS is not supposed to just stop, so I would look into why it is stoping VS trying to figure out how to make sure that it starts again after it stops.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts