The view 'Error' or its master was not found

后端 未结 5 1709
执念已碎
执念已碎 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:21

    Somewhere your site is trying to navigate to ~/Error and it can't find it because it doesn't exist.

    Trying removing or disabling customErrors in your Web.config. I'm willing to be its set to the default of on and redirect to ~/Error

    If you want to post your Web.config (omitting any sensitive information) I can probably help. I've dealt with similar issues with Elmah recently.

提交回复
热议问题