<customErrors> confusion

J

Jayyde

New to this so please bear with me...

I set up the:

<customErrors mode="On" defaultRedirect="~/Unavailable.aspx">
</customErrors>



And what it'll do is redirect to the Unavailable.aspx page, but then bring
up ASP.NET errors saying how it can't display what's going on and in order
for
it to be able to to set up a <customErrors> tag. Kind of strange to me
since it's apparently reading it to redirect, but then not using it. No
clue what's happening here, but any help you gurus can give me will be much
appreciated! =)
 
H

Hans Kesting

New to this so please bear with me...
I set up the:

<customErrors mode="On" defaultRedirect="~/Unavailable.aspx">
</customErrors>

And what it'll do is redirect to the Unavailable.aspx page, but then bring
up ASP.NET errors saying how it can't display what's going on and in order
for
it to be able to to set up a <customErrors> tag. Kind of strange to me
since it's apparently reading it to redirect, but then not using it. No
clue what's happening here, but any help you gurus can give me will be much
appreciated! =)

This will happen if your Unavailable.aspx itself causes an error. It
will not go in an endless loop, fortunately.

Hans Kesting
 

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

Similar Threads


Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,211
Latest member
NelleWilde

Latest Threads

Top