473,379 Members | 1,379 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,379 software developers and data experts.

Exeption properties

Is there a way to get the page that an error occurred on when looking at the
Exeption from the catch phrase or from the GetLastError()?

I have my program going to a general page when I get an error and getting
the information from GetLastError(), but I don't know how to get the Page
the eror ocurred on.

Thanks,

Tom
Feb 8 '06 #1
2 960
HttpContext.Current.Request and it's properties should help you.

Regards,

Trevor Benedict R
MCSD

"tshad" <ts**********@ftsolutions.com> wrote in message
news:OQ**************@TK2MSFTNGP12.phx.gbl...
Is there a way to get the page that an error occurred on when looking at
the Exeption from the catch phrase or from the GetLastError()?

I have my program going to a general page when I get an error and getting
the information from GetLastError(), but I don't know how to get the Page
the eror ocurred on.

Thanks,

Tom

Feb 8 '06 #2
"Trevor Benedict R" <tr********@yahoo.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
HttpContext.Current.Request and it's properties should help you.
That was it.

Thanks,

Tom
Regards,

Trevor Benedict R
MCSD

"tshad" <ts**********@ftsolutions.com> wrote in message
news:OQ**************@TK2MSFTNGP12.phx.gbl...
Is there a way to get the page that an error occurred on when looking at
the Exeption from the catch phrase or from the GetLastError()?

I have my program going to a general page when I get an error and getting
the information from GetLastError(), but I don't know how to get the Page
the eror ocurred on.

Thanks,

Tom


Feb 8 '06 #3

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

Similar topics

4
by: Lyn | last post by:
Hi, This question may seem a bit academic... To learn more about Access VBA, I have been enumerating the properties of various form controls. This was mostly successful and I have learned a lot...
10
by: Sunny | last post by:
Hi, I have an old problem which I couldn't solve so far. Now I have found a post in that group that gave me an idea, but I can not fully understand it. The problem is: I'm trying to use a...
2
by: Aron Henning | last post by:
I have a ListView that contains the subfoldes of a local drive. Whan i click on a subfolder the listbox should display the subfolders of this folder instead. the funktion is as follows: private...
4
by: ad | last post by:
The code below can only catch common excption. I want to catch duplicate primary key exeption and do something more. How can I catch duplicate primary key exeption try { Insert a record to...
5
by: adh | last post by:
After installing my program on a production station I get in an ImportDataDelegate Asynchrounous procedure the message: --------------------------- Async Exeption: Requested registry access is not...
4
by: adh | last post by:
VB.NET 2003 After installing my program on a production station I get in an ImportDataDelegate Asynchrounous procedure the message: --------------------------- Async Exeption: Requested registry...
1
by: Christophe Peillet | last post by:
I have a CompositeControl with two types of properties: 1.) Mapped Properties that map directly to a child control's properties (ex.: this.TextboxText = m_txt.Text). These properties are handled...
1
by: raz | last post by:
i am trying to run a game demo":gothic 3".it loads fine but when i try to run it,i get an error screen.g3 exe caused an exeption access violation in module engine . dll. e cspherical joint desc: :...
7
by: Anderskj | last post by:
Hi! I am developing a c# application. I have a interface (which can change therefore my problem) If i do like this: List<PropertyInfoproperties = new List<PropertyInfo>();...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.