Application_Start event in Global.asax won't fire
-
It works properly on the developer machine(s) but not on the production server, a server 2003. It fires if I restart the worker process manually. But not for any automatic restarts. I need some ideas for where to start looking.
-
It works properly on the developer machine(s) but not on the production server, a server 2003. It fires if I restart the worker process manually. But not for any automatic restarts. I need some ideas for where to start looking.
Sometimes the app wont shut down for a long time after not receiving any requests (or closing any open browser, which has nothing to do), and when you are developing the app, when you run it, it sometimes restatrs the app automatially So, how can you be sure that the app is starting and the event not firing??
Alexei Rodriguez
-
Sometimes the app wont shut down for a long time after not receiving any requests (or closing any open browser, which has nothing to do), and when you are developing the app, when you run it, it sometimes restatrs the app automatially So, how can you be sure that the app is starting and the event not firing??
Alexei Rodriguez
We have an application object that keeps track on certain common dynamic settings for the sessions that needs to be initialized at application start. We have also tested with adding a simple logging procedure to the Application_Start event. It works on the developer machine but not on the server.
-
We have an application object that keeps track on certain common dynamic settings for the sessions that needs to be initialized at application start. We have also tested with adding a simple logging procedure to the Application_Start event. It works on the developer machine but not on the server.
Jörgen Andersson wrote:
We have also tested with adding a simple logging procedure to the Application_Start event.
So, this logging procedure... will it run at least the first time (just after deploying) you request a web form in the application??
Alexei Rodriguez