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

  • Home
  • SEARCH
  • 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 5978169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:28:32+00:00 2026-05-22T21:28:32+00:00

My MVC3 application that works fine in Debug is failing in Release mode. But

  • 0

My MVC3 application that works fine in Debug is failing in Release mode. But the biggest problem is that the error I’m getting is not detailed at all. This is all I’m getting:

Sorry, an error occurred while
processing your request.

I have configured elmah and was expecting to see a full error report, including stacktrace, there, but there’s nothing.

How can I get a proper error report?

  • 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-22T21:28:32+00:00Added an answer on May 22, 2026 at 9:28 pm

    After @tvanfosson comment, I realized I hadn’t configured MVC3 to pass exceptions to elmah. Found this tutorial on how to do it, and right on Part 1 it suggests to comment this line from Global.asax.cs:

    public static void RegisterGlobalFilters(GlobalFilterCollection filters)
    {
        //filters.Add(new HandleErrorAttribute());
    }
    

    That did it. Getting the YSOD now, and elmah correctly captures the exception.

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

Sidebar

Related Questions

I have an ASP MVC3 application that runs fine (in VS 2010 debug) in
We are using Log4Net from our ASP.NET MVC3 application, all works fine but we
I have made an mvc3 application with Windows Authentication. Everything works fine but I
I am working on ASP.NET 4.0 MVC3 web application that works in intranet environment.
I have an ASP.NET application which works just fine, but which is becoming unwieldy.
I'm using a datepicker in my mvc3 application. the problem is that the controls
I have an MVC 3 application that works fine when running locally from visual
I have an ASP.Net MVC3 application that has been running fine in the default
I'm building a MVC3 application that needs to store secure user information such as
I have an ASP.NET MVC3 application that I have built and it has two

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.