Weird behavior of an ASP.NET MVC application - track of errors

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-04-21T02:33:45Z Indexed on 2010/04/21 2:43 UTC
Read the original article Hit count: 281

Filed under:

Before migrating from ASP.NET WebForms I had a very good way to monitor all my application errors in the Events Log (Administrative Tools).

But now after moving to asp.net MVC, all I get is the same mistake occurring every minute (something about Site Master). I know it's not right, because there are other mistakes, but they are not displayed. I purposefully put in division by zero operation, and it didn't track it.

I had to implement the OnException method of a controller, and send e-mails with error details which is very inconvenient.

How can I solve this problem?

© Stack Overflow or respective owner

Related posts about asp.net-mvc