473,405 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

ErrorPage property of System.Web.UI.Page

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...
Nov 19 '05 #1
2 1087
Jeff:
Make sure you have your customErrors mode="On" in the web.config. Otherwise
everything should work fine.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Jeff Robichaud" <jf*********@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
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...

Nov 19 '05 #2
Thats' it! Thanks. I had it to "RemoteOnly"...

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:ur*************@TK2MSFTNGP15.phx.gbl...
Jeff:
Make sure you have your customErrors mode="On" in the web.config.
Otherwise
everything should work fine.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Jeff Robichaud" <jf*********@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
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...


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Daniel | last post by:
Hi, I have just a question: I need when a error ocurrs on my page, the error page that I defined be oponed. Just setting errorPage="ErrorPage1.aspx" in my page will work, rigth? or I'm making a...
3
by: Michael | last post by:
Hello, I'm using Web Matrix and tried to add ErrorPage like this: <%@ Page Language="C#" Debug="true" ErrorPage="hello.aspx" %> I thought this would trap unhandled exceptions and redirects to...
1
by: Daniel | last post by:
How can I get in my custom ErrorPage the error message from the page that produced the error ?? This is just for displaying the error.
1
by: Lars Netzel | last post by:
Hey! I use a custom error page in my solution, ErrorPage.aspx. Which I have styled so it goes well with the rest of the appliction... it's currently all static... Is there anyway in that page...
2
by: ad | last post by:
Hi, I use the setting below in Web.config <customErrors mode="On" defaultRedirect="~/ErrorPage/GenericErrorPage.aspx" /> How could we get error statusCode when GenericErrorPage is load?
1
by: Will Gillen | last post by:
I know this has probably been asked before, but I can't seem to find a solid answer in any of the archives. First, before my question, please forgive my limited knowledge of the event lifecycle...
1
by: banjuu | last post by:
Hi all, i need to add errorpage in every jsp page in my project.can any one provide errorpage tht should display error occurred. need very urgent......plz help me yaar
6
by: =?Utf-8?B?SmF5IFBvbmR5?= | last post by:
I am trying to access a Public property on a Master Page from a Base Page. On the content pages I have the MasterType Directive set up as follows: <%@ MasterType virtualpath="~/Master.master" %>...
8
Paxxer
by: Paxxer | last post by:
Hi All, <%@ Page Language="C#" MasterPageFile="~/MasterPages/MyMaster.master" errorPage="~/Errors/Error.aspx" Title="This will have an Error" ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.