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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:51:02+00:00 2026-05-13T09:51:02+00:00

I am in the process of making sure our MVC app catches all exceptions

  • 0

I am in the process of making sure our MVC app catches all exceptions and reports them to us so we can stay on top of the errors. I already learned that I need some code in the Global.asax Application_Error event to catch exceptions that never make it to the Controller, and that in our custom base Controller we override the OnException() method and that seems to work for Controller exceptions. What I am wondering is will View exceptions fall back to that or is there some other thing I need to implement to catch all those?

  • 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-13T09:51:03+00:00Added an answer on May 13, 2026 at 9:51 am

    Ryan, we have solved this by implementing ErrorAttribute in our Custom Controller Base Class (so that we only put it once in the whole application), this way the users won’t see the nasty Yellow Screen of death.

    To log unhandled error I’d suggest using ELMAH as a logging error solution, it is VERY unobtrusive (just configuring the web.config) and it has a very nice interface to filter, search and you can even subscribe to it by RSS.

    Good Luck!

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

Sidebar

Related Questions

I am in the process of optimizing my app and making sure memory management
I am currently in process of making our application Large Address Aware. As experience
For example, when discussing a build or deploy process, and making sure it is
In the process of making an old webpage standard compliant, the validator came across
I'm in the process of making a simple Todo List application based on Joosy
I am in the process of making a website that involves a shopping cart.
I'm on the process of making a dropdown widget. The menu the expands down
I'm in the process of making a Rails application be able to run on
How could I track down the death of a child process without making the
Currently planning on making the installation process for a .NET application I'm selling smoother

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.