ErrorPage property of System.Web.UI.Page

J

Jeff Robichaud

Hi,

It is said the ErrorPage property of System.Web.UI.Page defines the target
page where the browser will be redirected when un unhandled exception
occurs. Doesn't seem to work...well it works fine at the application level
(using web.config) but I thought that we could do it at the page level too
?? Maybe I misunderstood something...
 
K

Karl Seguin

Jeff:
Make sure you have your customErrors mode="On" in the web.config. Otherwise
everything should work fine.

Karl
 
J

Jeff Robichaud

Thats' it! Thanks. I had it to "RemoteOnly"...

Karl Seguin said:
Jeff:
Make sure you have your customErrors mode="On" in the web.config.
Otherwise
everything should work fine.

Karl
 

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
474,434
Messages
2,571,690
Members
48,796
Latest member
Greg L.

Latest Threads

Top