我已经设置了
<customErrors mode="Off"></customErrors>
我不想使用任何customeErrors,但为什么它仍然会找到错误视图?
System.InvalidOperationException: The view 'Error' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Areas/OrderList/Views/OrderDetail/Error.aspx
~/Areas/OrderList/Views/OrderDetail/Error.ascx
~/Areas/OrderList/Views/Shared/Error.aspx
~/Areas/OrderList/Views/Shared/Error.ascx
~/Views/OrderDetail/Error.aspx
~/Views/OrderDetail/Error.ascx
~/Views/Shared/Error.aspx
~/Views/Shared/Error.ascx
~/Areas/OrderList/Views/OrderDetail/Error.cshtml
~/Areas/OrderList/Views/OrderDetail/Error.vbhtml
~/Areas/OrderList/Views/Shared/Error.cshtml
~/Areas/OrderList/Views/Shared/Error.vbhtml
~/Views/OrderDetail/Error.cshtml
~/Views/OrderDetail/Error.vbhtml
~/Views/Shared/Error.cshtml
~/Views/Shared/Error.vbhtml