|
Sorry, ask again: Where should I put my custom error message page myerror.aspx? I created an err directory, put myerror.aspx in it, and browsed the aspx file in another directory, it didn't work.
web.config is as follows:
<customErrors mode = "Off" defaultRedirect = "Main / Err.aspx? ErrType = 1">
<error statusCode = "403" redirect = "NoAccess.htm" />
<error statusCode = "404" redirect = "/ err / myerror.aspx" />
</ customErrors> |
|