Request is not available in this context exception in Application_Start
The “Request is not available in this context” exception is one of the more common errors you may receive on when moving ASP.NET applications to Integrated mode on IIS 7.0. This exception happens in your implementation of the Application_Start method in the global.asax file if you attempt to access the HttpContext of the request that started the application.
Learn more about why this happens and how to work around it to start enjoying the benefits of ASP.NET Integrated mode for your application: https://mvolo.com/blogs/serverside/archive/2007/11/10/Integrated-mode-Request-is-not-available-in-this-context-in-Application_5F00_Start.aspx.
Comments
- Anonymous
November 10, 2007
PingBack from http://msdnrss.thecoderblogs.com/2007/11/11/request-is-not-available-in-this-context-exception-in-application_start/