« Previous Next »

Thread: Request is not available in this context exception in Application_Start in Integrated mode

Last post 11-11-2007 7:21 PM by mvolo. 0 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (1 items)

Sort Posts:

  • 11-11-2007, 7:21 PM

    • mvolo
    • Top 25 Contributor
    • Joined on 09-17-2003, 9:48 AM
    • Philadelphia, PA
    • Posts 584
    • IIS MVPs

    Request is not available in this context exception in Application_Start in Integrated mode

    Locked Reply Contact

    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.

    If your application is encountering this error, you will need to make changes to it.  Learn more about why this happens and how to solve it at http://mvolo.com/blogs/serverside/archive/2007/11/10/Integrated-mode-Request-is-not-available-in-this-context-in-Application_5F00_Start.aspx.

    Thanks,

    Mike Volodarsky

    Program Manager
    IIS Core Server
    Visit mvolo.com for more inside information on IIS7, IIS and ASP.NET
    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (1 items)
Microsoft Communities