Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Application_Start called two times from different threads?

Tags:

asp.net

events

I can't understand why Application_Start event is called two or three times when my ASP.NET app start? Application_End is not called between Application_Start calls. Also I have only one IIS pool instance.

like image 249
Tomas Avatar asked Sep 20 '11 15:09

Tomas


1 Answers

Check out: Multiple Application_Start events firing Does this apply to you?

Also ensure you aren't writing any log entries to the bin folder as that will cause it as well.

like image 162
Adam Tuliper Avatar answered Oct 03 '22 07:10

Adam Tuliper