By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,469 Members | 1,259 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,469 IT Pros & Developers. It's quick & easy.

How to start Web Application automatically afrer IIS is started?

P: 7
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_Start 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.
Jan 20 '08 #1
Share this Question
Share on Google+
5 Replies


P: 5
Hi

you mean to say that you want to load web process once your IIS started?
if yes means kindly explain the scenario
Jan 20 '08 #2

P: 7
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.
Jan 20 '08 #3

P: 7
Dear all,

Please help me?

Everybody, expert, guru, please help me?
Jan 21 '08 #4

P: 7
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_Start 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.
Jan 21 '08 #5

Plater
Expert 5K+
P: 7,872
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.
Jan 21 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.