How to know the real error response?
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 !
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
Support Staff 1 Posted by friism on 02 May, 2011 08:29 PM
Which application is this?
Support Staff 2 Posted by rune on 02 May, 2011 08:39 PM
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
rune closed this discussion on 02 May, 2011 08:39 PM.