错误配置

 <customErrors mode="RemoteOnly"  defaultRedirect="GenericErrorPage.htm">
      <error statusCode="403" redirect="NoAccess.htm" />
      <error statusCode="404" redirect="FileNotFound.htm" />
      <error statusCode="500" redirect="ErrPage.aspx"/>
    </customErrors>

你可能感兴趣的:(配置)