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

IIS Log / Custom Error database discrepancies

We currently have custom error logging setup on all of our websites. We
have IIS setup to redirect to our custom 500-100.asp page which logs the
error to a database and then redirects to a friendly error message page.

Last week we were working on a pretty troublesome error on our intranet site
and noticed huge discrepencies between the IIS Log and our error log
database. On this particular day for this particular site, the IIS Log has
literally thousands more errors logged than our database does.

I am very familiar with ASP error logging and completely understand how our
current system is working. I've been given the task of figuring out why
there are more errors in the IIS Logs than in our "dbSiteErrorLog" database,
the destination db of our custom 500-100 page.

The log will show all thousands of " |-|ASP_0147|500_Server_Error" messages
that don't have any matching records in our site error log database.

Any ideas why this discrepancy exists?

Would IIS log an error and not redirect to our custom 500-100.asp page?

How would I resolve this problem?

Thanks so much for any help anyone can provide!!
Jul 22 '05 #1
3 4156
> The log will show all thousands of " |-|ASP_0147|500_Server_Error"
messages
that don't have any matching records in our site error log database.


Some errors halt the IIS engine's processing, so it has no ability to go to
the 500 custom error handler. You will have to experiment with the
different errors in your log (that weren't caught by the error handler) and
try to reproduce them. Pre-processor items might do this (e.g. missing
#include file or missing %> delimiter).

There could also be problems in the 500 error handler, e.g. certain errors
are not handled correctly, but the error only shows up in certain cases.
For example, let's say your ASP page gets a 500 error because someone passed
in the literal string "response" and then you use eval against it:

<%
x = "response"
response.write eval(x)
%>

Response object error 'ASP 0185 : 80020003'
Missing Default Property
/500.asp, line 0
A default property was not found for the object.

Do you have any leads on the actual pages that are causing the errors that
aren't being recorded correctly?

--
http://www.aspfaq.com/
(Reverse address to reply.)
Jul 22 '05 #2
Yes. It was occurring on the /default.asp page between the hours of
midnight and two in the morning everyday. Another programmer in my
department actually fixed the problem but is not around today to ask what he
had to do. I did notice that NONE of the ASP_0147 errors are logged, all
other errors I can seem to find a corresponding record for. These must be
"fatal" errors that stop the IIS engine's processing.

This pretty much means we will have to keep an eye on these kinds of errors
in the IIS logs and cannot assume that if there are no errors in the
dbSiteErrorLog database that none are occurring.

Out of curiosity, is there any more detailed information on this "ASP_0147"
error that I could read?

"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
The log will show all thousands of " |-|ASP_0147|500_Server_Error" messages
that don't have any matching records in our site error log database.


Some errors halt the IIS engine's processing, so it has no ability to go

to the 500 custom error handler. You will have to experiment with the
different errors in your log (that weren't caught by the error handler) and try to reproduce them. Pre-processor items might do this (e.g. missing
#include file or missing %> delimiter).

There could also be problems in the 500 error handler, e.g. certain errors
are not handled correctly, but the error only shows up in certain cases.
For example, let's say your ASP page gets a 500 error because someone passed in the literal string "response" and then you use eval against it:

<%
x = "response"
response.write eval(x)
%>

Response object error 'ASP 0185 : 80020003'
Missing Default Property
/500.asp, line 0
A default property was not found for the object.

Do you have any leads on the actual pages that are causing the errors that
aren't being recorded correctly?

--
http://www.aspfaq.com/
(Reverse address to reply.)

Jul 22 '05 #3
http://support.microsoft.com/?kbid=311766

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Mark Metzner" <as*******@newsgroup.nospam> wrote in message
news:ua**************@tk2msftngp13.phx.gbl...
Yes. It was occurring on the /default.asp page between the hours of
midnight and two in the morning everyday. Another programmer in my
department actually fixed the problem but is not around today to ask what he had to do. I did notice that NONE of the ASP_0147 errors are logged, all
other errors I can seem to find a corresponding record for. These must be
"fatal" errors that stop the IIS engine's processing.

This pretty much means we will have to keep an eye on these kinds of errors in the IIS logs and cannot assume that if there are no errors in the
dbSiteErrorLog database that none are occurring.

Out of curiosity, is there any more detailed information on this "ASP_0147" error that I could read?

"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
The log will show all thousands of " |-|ASP_0147|500_Server_Error"

messages
that don't have any matching records in our site error log database.


Some errors halt the IIS engine's processing, so it has no ability to go

to
the 500 custom error handler. You will have to experiment with the
different errors in your log (that weren't caught by the error handler)

and
try to reproduce them. Pre-processor items might do this (e.g. missing
#include file or missing %> delimiter).

There could also be problems in the 500 error handler, e.g. certain errors are not handled correctly, but the error only shows up in certain cases.
For example, let's say your ASP page gets a 500 error because someone

passed
in the literal string "response" and then you use eval against it:

<%
x = "response"
response.write eval(x)
%>

Response object error 'ASP 0185 : 80020003'
Missing Default Property
/500.asp, line 0
A default property was not found for the object.

Do you have any leads on the actual pages that are causing the errors that aren't being recorded correctly?

--
http://www.aspfaq.com/
(Reverse address to reply.)


Jul 22 '05 #4

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

Similar topics

3
by: Tania | last post by:
Hi. I´ve a problem. I have two diffrent databases. And I want to update database B with database A. But when a column is missing in the B it won´t be insert with the update of A. Whole tables...
1
by: Craig | last post by:
I have added a 'Textboxes (A)' to my UI installer project along with a custom action to pass the value back to a class I've written to override the void Install function. As long as the text is...
8
by: pmud | last post by:
Hi, I am using a compare validator in asp.net application(c# code). This Custom validator is used for comparing a value enterd by the user against the primary key in the SQL database. IF the...
5
by: Graham | last post by:
I have created a custom MembershipProvider called "LassieMembershipProvider" that derives from "MembershipProvider". This providor is located in a Businesslogic layer dll called...
9
by: wardy1975 | last post by:
Hi All, Looking for a little expert advice on a few web standards issues. I am currently trying to understand the impact of web standards for a web application I work with. I have been doing a...
1
by: MarkAllison | last post by:
Hi, can anyone help me before I slit my wrists?!?! I am trying to create a procedure in an Access 97 database, that basically creates a new record in a table called "Discrepancies", with an ID...
3
by: Lucky_Syringe | last post by:
I wrote this script to display different files from a database and properly display them by their respective MIME types. I have two questions: the first is that it just so happens not to work, and...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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.