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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T03:55:06+00:00 2026-05-29T03:55:06+00:00

I just deployed an ASP.NET MVC 3 application to our staging server. Whenever an

  • 0

I just deployed an ASP.NET MVC 3 application to our staging server. Whenever an error occurs, I cannot get the detailed error information, i.e. the “yellow screen of death.” Instead, I just get a simple “Sorry, an error occurred while processing your request.” message.

My Web.config does include the customErrors off, i.e.:

<system.web>
  <compilation debug="true" targetFramework="4.0">
    <assemblies>
      ...
    </assemblies>
  </compilation>
  <customErrors mode="off"/>
</system.web>

In this case, I know exactly what the underlying error is. (I forgot to set permissions on a stored procedure.) But I really want to (re)enable the error handling so I can find these bugs quickly. Of course, I will remove this once we actually go live for security reasons.

What other settings are there that could be overriding the default ASP.NET error handling?

  • 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-29T03:55:07+00:00Added an answer on May 29, 2026 at 3:55 am
    <customErrors mode="Off"/>
    

    The “Off” must be capitalized correctly.

    From “Editing ASP.NET Configuration Files“:

    Case-Sensitivity

    Because tags must be well-formed XML, the tags,
    subtags, and attributes are case-sensitive. Tag names and attribute
    names are camel-cased, which means that the first character of a tag
    name is lowercase and the first letter of any subsequent concatenated
    word or words is uppercase. In most cases, string attribute values are
    Pascal-case, which means that the first character is uppercase and the
    first letter of any subsequent concatenated word or words is
    uppercase. Exceptions are true and false, which are always lowercase.

    Remember kids, you learn something new every day. Even if what you learn is lame.

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

Sidebar

Related Questions

I'm currently debugging an ASP.NET MVC application that was just deployed to a different
I deployed an ASP.net MVC 2 application on my Windows Server 2008 IIS7 server
we have a asp.net MVC application deployed to a server, and but when there
I have just deployed my asp.net mvc-2 website to a server (using dotnetpanel). But
I have a Windows 2008 r2 server. I just deployed my ASP.Net application to
I have just deployed my ASP.NET MVC 2 application using EF 4 and I
On my production server, I just deployed a asp.net web application. I am seeing
We are getting the error above on some pages of an ASP.NET MVC application
I've just deployed my first ASP.NET MVC 2 site, and all appears to be
I've a asp.net MVC app deployed to server it uses forms authentication and uses

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.