Restarting ASP.NET Web Application

Discussion in 'ASP .Net' started by Jordan R., Nov 16, 2005.

  1. Jordan R.

    Jordan R. Guest

    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!
    Jordan R., Nov 16, 2005
    #1
    1. Advertising

  2. 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!
    Juan T. Llibre, Nov 16, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. LJ
    Replies:
    0
    Views:
    1,107
  2. Bosh
    Replies:
    0
    Views:
    738
  3. justin
    Replies:
    1
    Views:
    602
    =?Utf-8?B?Q3VydF9DIFtNVlBd?=
    Oct 12, 2005
  4. sonic
    Replies:
    0
    Views:
    356
    sonic
    May 23, 2006
  5. zb
    Replies:
    7
    Views:
    812
Loading...

Share This Page