Request is not available in this context exception in Application_Start

Posted: Nov 10, 2007  1 comments  

Average Rating

Tags
ASP.NET
IIS7
Integrated pipeline

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: http://mvolo.com/blogs/serverside/archive/2007/11/10/Integrated-mode-Request-is-not-available-in-this-context-in-Application_5F00_Start.aspx.

Comments

Pingback from  Request is not available in this context exception in Application_Start - MVolo's Blog

Nov 10 2007 by Request is not available in this context exception in Application_Start - MVolo's Blog

Submit a Comment

  • Plain text is accepted.
  • URLs starting with http:// are converted to links.