Global.asax Application_Start and Application Pool Recycling Problem

A

Aamir Mahmood

Hi
I have a problem that just appeared to my application.

I have some initialization code in Application_Start function in global.asax
but it is not being called when the application pool is recycled.
Could you guys give me a clue what can cause this?
thanks.
AM
 
P

Peter Bromberg [C# MVP]

If your application is really being restarted via IIS (not the Visual Studio
Development Server) then the code you have in Application_Start will always
run. Do you want to post a code sample that illustrates your problem?
Peter
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top