custom error page cares about type of error

D

dee

Hi,

I get directed to my custom error page when i try to access an invalid url
but when I do a an intetional divide by zero I get a asp page. Anyone knows
why?
I like to be able to have a generic page that all the errors get redirected
to.

I use the following in web.config as suggested:

<configuration>
<system.web>
<customErrors defaultRedirect="error.htm" mode="On" />
</system.web>
</configuration>

Thanks.
Dee
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top