ASP.NET Web.config CustomErrors to .aspx pages

1

please your collaboration with the following case: I have a web system in asp.net (.net 1.1 VS2003), in the web.config I have the customErrors (On) to a generic page of errors, well the problem is the next: If the defautlRedirect assigned a .htm page, it works normally, but if I assign it to a .aspx page it does not work, it just shows the yellow screen as if the CustomErrors was Off. Someone knows what this is? Greetings.

    
asked by RSillerico 09.08.2016 в 17:49
source

1 answer

1
  

If at defaultRedirect I assign a page .htm works with   normal, but if I assign a .aspx page it does not work

Not that it works with .html and with .aspx no, I think the problem is the .aspx page, I suggest you enable mode="On" so you can see what the problem is in your .aspx:

<customErrors defaultRedirect="[tu url]"
              mode="On">
 ...
 ...
</customErrors>
    
answered by 09.08.2016 / 18:24
source