Accessing HttpContext.Current in Application_start in IIS 7.0 gives se(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 5 months ago

One of the major changes in IIS 7.0 is that the HTTP context is not available in the application_start event. If you try to work with the http context (with the help of Httpcontext.current) in the application_start event in global.asax then you will receive an ASP.NET 500 – Server Error: Request is not available in this context.

add a comment |category: |Views: 37

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story