如何使用httpErrors将错误路径更改为我的控制器/操作?
<httpErrors errorMode="Custom"> <remove statusCode="404"/> <error responseMode="ExecuteURL" statusCode="404" path="Error/HttpRequestError"/> </httpErrors>
我做错了什么?
附:我知道另一种解决自定义页面错误的方法.但我想尝试使用它.
谢谢!
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。