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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:35:13+00:00 2026-05-30T12:35:13+00:00

Okay, I think I’ve ready every post on StackOverflow regarding this and still no

  • 0

Okay, I think I’ve ready every post on StackOverflow regarding this and still no luck.

I’ve confirmed in my global.asax that the HandleErrorAttribute filter is being registered.
I’ve set customErrors mode="On" in my web.config.
I’ve changed Layout=null to Layout="~/Views/Shared/_Layout.cshtml" in my Error.cshtml file.

I then added a throw Exception() in my Account controller’s Index action and browse to localhost:5050/Account/Index but I wind up with the standard YSOD error stack stuff.

I’ve even tried the following (although from my understanding it shouldn’t matter):

  1. Add [HandleError] and [HandleError(View="Error")] to my controller.
  2. Add defaultRedirect="Error" to my customErrors in web.config

What else can I do? Is there a way to tell what’s going on in the HandleError filter or to tell if the Error View is being generated at all?

Thanks for your help.

P.S. Incidentally, I’m using VS2010, IE9 & Chrome

  • 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-30T12:35:15+00:00Added an answer on May 30, 2026 at 12:35 pm

    Okay, ignorance is not always bliss … sometimes being ignorant is just plain frustrating!

    It turns out I was editing the web.config located in my Views folder instead of the web.config for my site like I thought I was.

    Once I added customErrors mode="On" to my real web.config, things worked great.

    Thanks to everyone that tried to help.

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

Sidebar

Related Questions

Okay at first I thought this would be pretty straightforward. But I can't think
Okay, I think I might be over-complicating this issue but I truly am stuck.
Hey, I'm new to this site. I think it is great! Okay, here's the
Okay I dont think anyone has covered this yet. I have a div with
Okay, this is something that should be a simple matrix question, but my understanding
Okay, the title is a mouthful and I think that's probably why it has
Okay, this is a little tricky to describe, but I think best described by
Okay, I know that is a funky-sounding title, but I couldn't think of a
Okay, so I have an assignment to code (using Java,but I don't think that
Okay, so this seems simple, but I can't think of a straightforward solution; Basically

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.