Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to auto-restart IIS .NET service every evening

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS ignores If-Modified-Since (1985) and sends 30..  
Author Message
madmanpierre

External


Since: Sep 07, 2004
Posts: 2



(Msg. 1) Posted: Tue Sep 07, 2004 4:03 pm
Post subject: How to auto-restart IIS .NET service every evening
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi,

Every couple of days the .NET stops serving out aspx pages. (html etc..,
still work fine)

It seems I remember reading back during .NET 0.90 that there was a way to
set the .NET service to restart every evening at 3:00 (or whatnot)

Can anyone direct me to instructions so I can set it up to do this?

 >> Stay informed about: How to auto-restart IIS .NET service every evening 
Back to top
Login to vote
bklists

External


Since: Sep 02, 2004
Posts: 28



(Msg. 2) Posted: Fri Sep 10, 2004 3:48 pm
Post subject: Re: How to auto-restart IIS .NET service every evening [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You could write a batch file and schedule it with Windows Scheduler to reset
IIS at some interval


--
~Brad Kingsley
Microsoft MVP - ASP/.Net
Windows 2000 MCSE

<a style='text-decoration: underline;' href="http://www.orcsweb.com/" target="_blank">http://www.orcsweb.com/</a>
Powerful Web Hosting Solutions
#1 in Service and Support






"madmanpierre" <madmanpierre.TakeThisOut@discussions.microsoft.com> wrote in message
news:05DD68CC-7CC6-4C21-BEC4-4A64E6B8655F@microsoft.com...
 > Hi,
 >
 > Every couple of days the .NET stops serving out aspx pages. (html etc..,
 > still work fine)
 >
 > It seems I remember reading back during .NET 0.90 that there was a way to
 > set the .NET service to restart every evening at 3:00 (or whatnot)
 >
 > Can anyone direct me to instructions so I can set it up to do this?<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: How to auto-restart IIS .NET service every evening 
Back to top
Login to vote
madmanpierre

External


Since: Sep 07, 2004
Posts: 2



(Msg. 3) Posted: Fri Sep 10, 2004 3:48 pm
Post subject: Re: How to auto-restart IIS .NET service every evening [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Brad,

If this is a work-a-round. Thank you.

I just want to understand. Are you saying that my memory is wrong that there
is NOT a method to set it up as a built in feature of .NET? I was sure I read
that in ASP.NET, Microsoft had specifically put in functionality to restart
the engine periodically just because they anticipated some problems that
MIGHT need it...

If you don't know, I still say thanks, and hopefully someone will tell me
authoritatively whether my memory is corrupt<g>.

"Brad Kingsley" wrote:

 > You could write a batch file and schedule it with Windows Scheduler to reset
 > IIS at some interval
 >
 >
 > --
 > ~Brad Kingsley
 > Microsoft MVP - ASP/.Net
 > Windows 2000 MCSE
 >
<font color=purple> > <a style='text-decoration: underline;' href="http://www.orcsweb.com/</font" target="_blank">http://www.orcsweb.com/</font</a>>
 > Powerful Web Hosting Solutions
 > #1 in Service and Support
 >
 >
 >
 >
 >
 >
 > "madmanpierre" <madmanpierre RemoveThis @discussions.microsoft.com> wrote in message
 > news:05DD68CC-7CC6-4C21-BEC4-4A64E6B8655F@microsoft.com...
  > > Hi,
  > >
  > > Every couple of days the .NET stops serving out aspx pages. (html etc..,
  > > still work fine)
  > >
  > > It seems I remember reading back during .NET 0.90 that there was a way to
  > > set the .NET service to restart every evening at 3:00 (or whatnot)
  > >
  > > Can anyone direct me to instructions so I can set it up to do this?
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: How to auto-restart IIS .NET service every evening 
Back to top
Login to vote
bklists

External


Since: Sep 02, 2004
Posts: 28



(Msg. 4) Posted: Fri Sep 10, 2004 8:18 pm
Post subject: Re: How to auto-restart IIS .NET service every evening [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In IIS6 there is a setting to restart specific Pools at intervals (every X
requests, memory limits, or certain times). I haven't heard of anything that
specifically reset .Net though. And if you want to bounce all of IIS vs.
just certain app pools, you need to set this restart on each app pool - or
set up the batch job to bounce IIS (and if you aren't using IIS6, you need
to use the batch job)


--
~Brad Kingsley
Microsoft MVP - ASP/.Net
Windows 2000 MCSE

<a style='text-decoration: underline;' href="http://www.orcsweb.com/" target="_blank">http://www.orcsweb.com/</a>
Powerful Web Hosting Solutions
#1 in Service and Support






"madmanpierre" <madmanpierre.RemoveThis@discussions.microsoft.com> wrote in message
news:1610841F-6FF4-4998-9DF8-2FF2BD21C8B0@microsoft.com...
 > Brad,
 >
 > If this is a work-a-round. Thank you.
 >
 > I just want to understand. Are you saying that my memory is wrong that
 > there
 > is NOT a method to set it up as a built in feature of .NET? I was sure I
 > read
 > that in ASP.NET, Microsoft had specifically put in functionality to
 > restart
 > the engine periodically just because they anticipated some problems that
 > MIGHT need it...
 >
 > If you don't know, I still say thanks, and hopefully someone will tell me
 > authoritatively whether my memory is corrupt<g>.
 >
 > "Brad Kingsley" wrote:
 >
  >> You could write a batch file and schedule it with Windows Scheduler to
  >> reset
  >> IIS at some interval
  >>
  >>
  >> --
  >> ~Brad Kingsley
  >> Microsoft MVP - ASP/.Net
  >> Windows 2000 MCSE
  >>
<font color=green>  >> <a style='text-decoration: underline;' href="http://www.orcsweb.com/</font" target="_blank">http://www.orcsweb.com/</font</a>>
  >> Powerful Web Hosting Solutions
  >> #1 in Service and Support
  >>
  >>
  >>
  >>
  >>
  >>
  >> "madmanpierre" <madmanpierre.RemoveThis@discussions.microsoft.com> wrote in message
  >> news:05DD68CC-7CC6-4C21-BEC4-4A64E6B8655F@microsoft.com...
   >> > Hi,
   >> >
   >> > Every couple of days the .NET stops serving out aspx pages. (html
   >> > etc..,
   >> > still work fine)
   >> >
   >> > It seems I remember reading back during .NET 0.90 that there was a way
   >> > to
   >> > set the .NET service to restart every evening at 3:00 (or whatnot)
   >> >
   >> > Can anyone direct me to instructions so I can set it up to do this?
  >>
  >>
  >><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: How to auto-restart IIS .NET service every evening 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]