Recently playing ELMAH after using observed the following error
Observed
After several observation, found only in the HTTP status codes is the time of 500 will have the Error Log, prior to this, I also checked Error Page side of the Route, and no wrong.
Solution
After Research, there are two solutions:
- Add in "/ Views / Shared /" directory under a View - "Error.cshtml" This is the easiest solution, for this one also.
- Big Box Elmah Log in with InvalidOperation not found Error meet en.html "target =" _ blank " rel =" noopener noreferrer "> ASP.NET MVC - ValidateAntiForgeryToken HandleError processing and custom display custom error message page, this article I have not in the actual implementation,
but should be able to change the default path to your allowed under the guidance of the specified path, this is the other also.