Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

How to know the real error response?

Sijie Chen's Avatar

Sijie Chen

02 May, 2011 07:48 AM

I just deployed a liitle demo aspnet mvc3 application to appharbor.

And when I hit a page an error occured, the page notify me "Sorry, an error occurred while processing your request.". And when I jump to "
Errors" page in appharbor's user control panel, I get nothing.

How can I get the real error response? (may be like traditional aspnet yellow screen)

thanks !

  1. Support Staff 1 Posted by friism on 02 May, 2011 08:29 PM

    friism's Avatar

    Which application is this?

  2. Support Staff 2 Posted by rune on 02 May, 2011 08:39 PM

    rune's Avatar

    Hi,

    An ASP.NET MVC3 project has the "HandleErrorAttribute" on by default. You should remove it from Global.asax to see the actual error rather than the handled response.

    It's located in the RegisterGlobalFilters method where filters.Add(new HandleErrorAttribute()); should be removed.

    Best,
    Rune

  3. rune closed this discussion on 02 May, 2011 08:39 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac