在Web.config中寻找<customErrors> Tag,然后加入如下
<customErrors Mode=”On” defaultRedirect=”ApplicationError.htm”>
<error statusCode=”403” redirect=”Forbidden.htm”/>
<error statusCode=”404” redirect=”NotFound.htm”/>
</customErrors>
本文地址:http://com.8s8s.com/it/it8670.htm