I am getting an error of some sort that causes error.cshtml to be displayed.
I dont see what settings are making it do that, plus I dont like the fact that elmah doesnt see the error either.
update: I have seen the elmah answer about how to get it to log things that get custom handled. What I don't understand is why I am getting into this state. I have nothing marked with HandleError attribute
update2: I 开发者_运维知识库think its because there is a global filter added using HandleErrorAttribute. THis effectively sets all controller actions to use the default error handling
In the wiki on the open source hosting for the ELMAH project, I found this page about setting up ELMAH with MVC. After reading through all the comments, at the very bottom, there was a link to this stack overflow question, which should help you get past the problem you are having.
精彩评论