How to start Web Application automatically afrer IIS is started?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nttuanit
    New Member
    • Jan 2008
    • 7

    How to start Web Application automatically afrer IIS is started?

    I have a Web App, I want to start Main page automatically after IIS is started without any request from browser.

    OR run one Script in Global.asax after IIS started.

    I understand that the Application_Sta rt on Global.asax is fired only have any request from browser on my application.

    Now I want to start App auto after IIS started.

    Please help me, thanks a lot.
  • wrsoundar
    New Member
    • Jan 2008
    • 5

    #2
    Hi

    you mean to say that you want to load web process once your IIS started?
    if yes means kindly explain the scenario

    Comment

    • nttuanit
      New Member
      • Jan 2008
      • 7

      #3
      Thanks Sir, Yes, something like that, i want to run any function in my App when IIS is started or restart.

      When I stop and Re-start IIS, I want to know what is called in my App and I want IIS call any function in my App without any request from browser.

      In the fact, I want to load data from DB into array when Re-Start IIS.

      Comment

      • nttuanit
        New Member
        • Jan 2008
        • 7

        #4
        Dear all,

        Please help me?

        Everybody, expert, guru, please help me?

        Comment

        • nttuanit
          New Member
          • Jan 2008
          • 7

          #5
          Start Main page automatically after IIS is started without any request from browser.

          Hi All,

          I have a Web App, I want to start Main page automatically after IIS is started without any request from browser.

          OR run one Script in Global.asax after IIS started.

          I understand that the Application_Sta rt on Global.asax is fired only have any request from browser on my application.

          Now I want to start App auto after IIS started.

          Please help me, thanks a lot.

          Comment

          • Plater
            Recognized Expert Expert
            • Apr 2007
            • 7872

            #6
            I am not sure if you can, outside of making a request.
            Creating a tiny program that just makes a web request to your webapplication could help though.
            Then you could have it run on the scheduler, run on boot, whenever.

            Comment

            Working...