0

in asp.net webform when I want to customize the error page I use the following comment :

<customErrors mode="on" defaultRedirect="defaultError.aspx">
    <error statusCode="404" redirect="pageNotFound.aspx" />
    <error statusCode="500" redirect="~/Error/Error.aspx" />
</customErrors>

Although there are error pages, unfortunately it does not work and still displays the error text.

enter image description here

I want to customize the error page but command not working...

RF1991
  • 2,037
  • 4
  • 8
  • 17

0 Answers0