Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6391211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:38:40+00:00 2026-05-25T03:38:40+00:00

Is it right to say that when Httpcontext object is null – so the

  • 0

Is it right to say that when Httpcontext object is null – so the iis is down ?

i know that when the first request to iis ( asp.net) the application manager creates

enviroment : Application Domain.

inside it theres Application Runtime.

And inside it there’s blocks of (if theres more then 1 application on the server)

HttpApplication with each has httpContext which handler Response and Request.

enter image description here

So what does it mean when i get in asp.net HttpContext is null ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:38:40+00:00Added an answer on May 25, 2026 at 3:38 am

    I don’t think that you can be running any ASP.NET application having IIS down, just by design 🙂

    if you have a piece of code where the HttpContext.Current is null you are probably not running in the web server but somehow in another way, for example sometimes we have class libraries designed to be executed within the web application then somebody references those assemblies directly from a windows service, a console application or from the unit test project and of course there is no HttpContext !

    web services as well, if served from IIS should have the context, if directly called with assembly reference and not web reference, can’t reach any HttpContext.

    show your failing code and describe where/how you use it and we will see why your context is null in that case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First of all I should probably say that the term 'constant object' is probably
am I right to say that an instance of a function object is immutable
a:3:{i:0;i:4;i:1;i:3;i:2;i:2;} Am I right to say that this is an array of size 3
The Python docs say that * and / have the same precedence. I know
First off I want to say that I wasn't really sure where to post
I'm going to come right out and say that I am not the worlds
I've just inherited a website (ASP.Net 2.0) written by someone else that I need
Is it safe to say that there is no such thing as a right
Is it safe to say that there is no such thing as a right
First of all I just want to say that I never understood so well

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.