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 5993939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:44:48+00:00 2026-05-22T23:44:48+00:00

Even i set enabled=false in healthMonitoring element in machine-level web.config, asp.net captures the unhandled

  • 0

Even i set enabled=”false” in healthMonitoring element in machine-level web.config, asp.net captures the unhandled exception and does the entry on windows event log.

So, can you please tell me. Can we enable / disable the health monitoring in machine-level?

Your answers is appreciated.

  • 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-22T23:44:49+00:00Added an answer on May 22, 2026 at 11:44 pm

    I think this is the normal behavior for any ASP.NET website when any unhandled exception occur.

    if you are not handling it with your code, or at least providing a 404 page for non-exisitng resources, the event will bubble up to WIndows event log.

    you can use any of the following methods in order to prevent Windows event log from listing your exceptions.

    1- Create Custom 404 and 500 error pages, and set customErros mode to TRUE in your web.config.

    <CustomErrors mode="On">
    

    2- Catch your errors bu using Application_Errors handler in your Global.ASAX

    3- Use [HandleError] attribute inside your controller code to let it use your custom error pages and swallow the error without exposing it to Windows event log.

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

Sidebar

Related Questions

Seems that web.xml for a servlet has an element called <enabled>false</enabled> that can be
I saw that __VIEWSTATE field gets rendered even though I have set the EnableViewState=false
Whenever I set the RichTextBox.Enabled property to false, its background color is automatically set
I am trying to set up a mono asp.net 4.0 test website that uses
Even why I can remove rows on read-only DataGridView? I can set Enabled to
I'm trying to clean up an older ASP.NET WebForms site that has ViewState enabled
Hi guys I have a google apps account set up and even set up
Even when BorderStyle is set to 0, it is possible to force a window
so how do set the left and top..(even when i scroll the scrollBar) thanks
Is there a way to set the location of the output windows even before

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.