Mike Volodarsky's WebLog

Mike Volodarsky on web server infrastructure, IIS, ASP.NET, and other such animals

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

Published Saturday, November 10, 2007 7:24 PM by mvolo

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Submit

About mvolo

I am a Program Manager on the IIS Application Server team. I've been working on Microsoft's web server platform for over 3 years, first as the ASP.NET core PM on ASP.NET 2.0 and now as the core server PM on the new IIS7 server. Some of my other projects include the AppCmd command line tool, and the FastCGI support. To read more about the news and technology from the core of the Microsoft's web platform, check out my blog at http://www.mvolo.com.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker