Trapping the 404 (resource not found) error

C

Craig Wilson

Using the ASP Dot Net IDE, where can I trap error 404 - resource not found?

tia,
cw
 
H

Hans Kesting

Craig said:
Using the ASP Dot Net IDE, where can I trap error 404 - resource not
found?

tia,
cw

It depends. If the resource requested has an aspx extension, then the asp.net
system might get involved. If the extension is not registered (in IIS) as being
handled by asp.net, then your asp.net application will never know that someone
tried to access that.
You need to trap this in IIS and there you can have it handled by some aspx page.

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

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top