473,884 Members | 2,415 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ErrorPage property of System.Web.UI.P age

Hi,

It is said the ErrorPage property of System.Web.UI.P age 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 1107
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*********@gm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi,

It is said the ErrorPage property of System.Web.UI.P age 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******** *****@TK2MSFTNG P15.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*********@gm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi,

It is said the ErrorPage property of System.Web.UI.P age 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
1220
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 mistake, because I doesn't work and the page crashed showing the message error. I need your support, thanks.
3
2029
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 hello.aspx; it does not. Help. Thanks.
1
1044
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
1193
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 to actually access the error messages and infroamtion given by the IIS? To at least give the user feedback (to forward to the suport or something) on what page it was who gave the error and what Rownumber in that page?
2
1503
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
6884
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 and page loading/rendering lifecycle.... Ok, now for the question: I have an ASPX page (page.aspx), and I have a UserControl (control.ascx). The UserControl has one textbox on the control, and one button control. I have added a public property...
1
1295
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
9174
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" %> On the Master Page I have a public property exposed: Public Property ErrorMessage() As String Get Return txtError.InnerText End Get
8
1984
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" AutoEventWireup="true" CodeFile="NewError.aspx.cs" Inherits="NewError" %>
0
9799
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11168
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10769
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10869
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10426
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7985
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5808
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4623
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3242
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.