The expected order of HttpApplication methods is:
- Application_Start
- Init
- Application_BeginRequest
- Application_AuthenticateRequest
- (page life cycle)
- Application_EndRequest
I’m passing through a situation, which throws absolutely no exception, in which, after the Init, it goes directly to ApplicationEndRequest. It doesn’t call Application_BeginRequest neither initiates the page life cyle.
What do I do?
Application_EndRequestis called but notApplication_BeginRequestwhen theres an unhandled exception prior toApplication_BeginRequest.That may be on
Application_Start, the initialization of some module or atApplication_Init