ASP.NET自定义错误

<customErrors mode="On" defaultRedirect="/Error/Error.htm">
<error statusCode="403" redirect="/Error/NoAccess.htm"/>
<error statusCode="404" redirect="/Error/FileNotFound.htm"/>
</customErrors>
posted @ 2013-03-30 15:10  apecoder  阅读(94)  评论(0编辑  收藏  举报