Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Restarting ASP.NET Web Application

Reply
Thread Tools

Restarting ASP.NET Web Application

 
 
Jordan R.
Guest
Posts: n/a
 
      11-16-2005
In order to restart and ASP.NET Web application - the only way I'm aware of
is to save a change to the app's Web.config file. By "restart" I'm meaning
to get the Application_Start event to fire.

Two questions:
1. What are other ways (other than rebooting the Web server) to get the app
to restart?
2. Why is it the case that stopping and starting the Web site in IIS Manager
doesn't restart the ASP.NET Web application (i.e., noes not have same effect
as saving a change to Web.config)?

Thanks!


 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      11-16-2005
re:
> 1. What are other ways (other than rebooting the Web server) to get the app to restart?


1. Touch global.asax ( open it and save it, just like web.config )
2. From the "Start" menu, "Run " : iisreset



Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
ASPNETFAQ.COM : http://www.aspnetfaq.com/
Foros de ASP.NET en Espaņol : http://asp.net.do/foros/
======================================
"Jordan R." <> wrote in message
news:...
> In order to restart and ASP.NET Web application - the only way I'm aware of is to save a
> change to the app's Web.config file. By "restart" I'm meaning to get the
> Application_Start event to fire.
>
> Two questions:
> 1. What are other ways (other than rebooting the Web server) to get the app to restart?
> 2. Why is it the case that stopping and starting the Web site in IIS Manager doesn't
> restart the ASP.NET Web application (i.e., noes not have same effect as saving a change
> to Web.config)?
>
> Thanks!



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change to web.config and restarting application. zb ASP .Net 7 01-11-2007 12:39 AM
Restarting Windows service using an another application Stephen ASP .Net 2 03-01-2006 10:12 PM
System.InvalidOperationException: Application is restarting Hari Koduru ASP .Net 3 01-15-2004 09:59 AM
Slow site? ASP.NET application keeps restarting? Bosh ASP .Net 0 08-16-2003 03:44 AM
[InvalidOperationException: Application is restarting.] LJ ASP .Net 0 06-24-2003 04:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57