在web.config中,可以指定,处理一般错误与指定错误的页面
<customErrors mode="On" defaultRedirect="GenericErrorPage.htm">一般错误
<error statusCode="404" redirect="404Error.htm"/>指定错误
</customErrors>
在web.config中,可以指定,处理一般错误与指定错误的页面
<customErrors mode="On" defaultRedirect="GenericErrorPage.htm">一般错误
<error statusCode="404" redirect="404Error.htm"/>指定错误
</customErrors>