The view 'Error' or its master was not found

后端 未结 5 1692
执念已碎
执念已碎 2021-02-05 01:28

I\'ve spent a lot of time trying to figure out a workaround for this to no avail, so I thought I\'d see if anyone here has an idea.

I\'m using Elmah in my ASP.NET MVC3 a

5条回答
  •  情书的邮戳
    2021-02-05 02:24

    Don't call the base.OnException(context); method in your custom error handler that derives from HandleErrorAttribute. You no longer need it because you have implemented a custom error handling in Application_Error.

提交回复
热议问题