Request is not available in this context

Please see IIS7 Integrated mode: 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.

Leave a Comment