473,503 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP error logging

Hi,

The problem is the following: I have experienced some ASP errors in my
web application and I'm unable to reproduce those errors because IIS
is configured in a way that does not send any debugging messages to
the user (and I cannot change it). Only standard string "An error
occured on the web server when processing the url..." is sent. So, two
questions:
1) Is there any way to log such situations to the eventlog, a file,
database or any other storage?
OR
2) Is there any way to allow me to send only piece on debugging
information to the user. In other words: I'd like to send error code
that would be understandable only by me?

thanks
P.
Jul 19 '05 #1
4 1548
Marcin wrote:
Hi,

The problem is the following: I have experienced some ASP errors in my
web application and I'm unable to reproduce those errors because IIS
is configured in a way that does not send any debugging messages to
the user (and I cannot change it). Only standard string "An error
occured on the web server when processing the url..." is sent. So, two
questions:
1) Is there any way to log such situations to the eventlog, a file,
database or any other storage?
OR
2) Is there any way to allow me to send only piece on debugging
information to the user. In other words: I'd like to send error code
that would be understandable only by me?

thanks
P.

Does this apply? http://www.aspfaq.com/show.asp?id=2109
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #2
no it does not :(. I cannot tell users to change their browsers settings.
Any other ideas?

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message news:<ec**************@TK2MSFTNGP11.phx.gbl>...
Marcin wrote:
Hi,

The problem is the following: I have experienced some ASP errors in my
web application and I'm unable to reproduce those errors because IIS
is configured in a way that does not send any debugging messages to
the user (and I cannot change it). Only standard string "An error
occured on the web server when processing the url..." is sent. So, two
questions:
1) Is there any way to log such situations to the eventlog, a file,
database or any other storage?
OR
2) Is there any way to allow me to send only piece on debugging
information to the user. In other words: I'd like to send error code
that would be understandable only by me?

thanks
P.

Does this apply? http://www.aspfaq.com/show.asp?id=2109
Bob Barrows

Jul 19 '05 #3
Huh? You can't make a simple request to your users to turn off Friendly
errors to help you debug your application so that their use of your
application will be enhanced? This seems ultra-cautios on your part (to me,
at least).

An alternative would be to use a custom error page to do your error logging
(http://www.aspfaq.com/show.asp?id=2335), but you say this is not allowed.

The only solution I can see is to write a page that logs the errors to a
database (or perhaps to a flat file), then include code in each and every
page to call this error handler when errors occur.

Bob Barrows

Marcin wrote:
no it does not :(. I cannot tell users to change their browsers
settings.
Any other ideas?

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:<ec**************@TK2MSFTNGP11.phx.gbl>...
Marcin wrote:
Hi,

The problem is the following: I have experienced some ASP errors in
my
web application and I'm unable to reproduce those errors because IIS
is configured in a way that does not send any debugging messages to
the user (and I cannot change it). Only standard string "An error
occured on the web server when processing the url..." is sent. So,
two
questions:
1) Is there any way to log such situations to the eventlog, a file,
database or any other storage?
OR
2) Is there any way to allow me to send only piece on debugging
information to the user. In other words: I'd like to send error code
that would be understandable only by me?

thanks
P.

Does this apply? http://www.aspfaq.com/show.asp?id=2109
Bob Barrows


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #4
On 6 Sep 2004 22:59:19 -0700, bi*******@poczta.onet.pl (Marcin) wrote:
no it does not :(. I cannot tell users to change their browsers settings.
Any other ideas?
Change yours and duplicate the user's actions. The browser is hiding
the error message you need.

Jeff

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message news:<ec**************@TK2MSFTNGP11.phx.gbl>...
Marcin wrote:
> Hi,
>
> The problem is the following: I have experienced some ASP errors in my
> web application and I'm unable to reproduce those errors because IIS
> is configured in a way that does not send any debugging messages to
> the user (and I cannot change it). Only standard string "An error
> occured on the web server when processing the url..." is sent. So, two
> questions:
> 1) Is there any way to log such situations to the eventlog, a file,
> database or any other storage?
> OR
> 2) Is there any way to allow me to send only piece on debugging
> information to the user. In other words: I'd like to send error code
> that would be understandable only by me?
>
> thanks
> P.

Does this apply? http://www.aspfaq.com/show.asp?id=2109
Bob Barrows


Jul 19 '05 #5

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

Similar topics

1
5011
by: Wayno | last post by:
My php logs are coming up empty. I have done all I can think of, and all that made sense to me. Can someone take a look at my php.ini please and tell me what you think may be the problem. I...
5
16217
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
0
4255
by: Rhino | last post by:
I've written several Java stored procedures now (DB2 V7.2) and I'd like to write down a few "best practices" for reference so that I will have them handy for future development. Would the...
10
2680
by: Brian Conway | last post by:
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the login. Works great in debug and test through...
7
4978
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
4
1819
by: sm | last post by:
Hi, I have a couple of questions with regards to handling errors and exceptions. 1. If I use On Error goto Errhandler ... Errhandler:
7
8533
by: flupke | last post by:
Hi, i'm getting errors with the log module concerning RotatingFileHandler. I'm using Python 2.4.3 on Windows XP SP2. This used to work in previous python versions but since i upgraded to 2.4.3...
0
1266
by: Roopesh | last post by:
Hi I am trying to use RotatingFileHandler, in the foll way : rootLogger = logging.getLogger('') rootLogger.setLevel(logging.DEBUG) rotatingHandler =...
9
1940
by: Rasika WIJAYARATNE | last post by:
Hi guys, Please check this out: http://rkwcoding.blogspot.com/2007/07/error-logging.html
2
1781
by: =?Utf-8?B?UG9sbHkgQW5uYQ==?= | last post by:
Hi, I have been successfully using the EHAB & Logging Application Block. Now however I get the error below and looking on line I was told that I have not set references to all the dlls. I have...
0
7339
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
7463
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
5581
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,...
0
4678
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3168
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...
0
3157
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1515
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 ...
1
738
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
389
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...

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.