473,597 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_S erver_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 4170
> The log will show all thousands of " |-|ASP_0147|500_S erver_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*****@dnartr eb.noraa> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
The log will show all thousands of " |-|ASP_0147|500_S erver_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*******@news group.nospam> wrote in message
news:ua******** ******@tk2msftn gp13.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*****@dnartr eb.noraa> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
The log will show all thousands of " |-|ASP_0147|500_S erver_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
1754
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 will be created but not columns. What kind of order I must use? Thanks for your advice. Tania
1
8460
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 very simple everything is working just fine. I've tested it by writing the string out to a text file to test it. However, the trouble comes in when I use the textbox for what I really intended, a ADO.Net Connection String. The textbox is to...
8
7824
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 VALUE ENTERED BY THE USER EXISTS IN THE DB , then THE ERROR MESSAGE OF THE COMPARE VALIDATOR SHOULD BE DISPLAYED. For this, I used the reference artiicle "http://msdn.microsoft.com/library/default.asp?url=/library/en-...
5
2519
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 "Enlighten.LinkMad.Businesslogic". In one of my frontend websites I use this type to authenticate a user who is trying to login. The following excerpt is from the web.config of the particular site showing the reference to the custom provider, allowing .Net to do...
9
3131
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 lot of research in the areas of XHTML and WAI compliance, and am attempting to come up with a recommendation for our product in terms of standards level compliance. Ideally, I would like to be at XHTML 1.0 Strict. However, in my reading I have...
1
1882
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 number 1 digit higher than the last record in the table. The name of the ID field is "DRNo". The code I am using is as follows, but I keep getting the error message, "Object variable not set or Block Width not set". This is my code: Dim dbWILAdb As...
3
1900
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 I'm just wondering if there are any discrepancies that I can't see that maybe someone else can, and the second is what would be the benefits and the drawbacks of storing different types of files in a database, for example files like jpeg and gif...
2
19443
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 will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge. I would be using layman's words, or maybe, my own words as how I understand them, hoping, you will understand it the same way that...
0
2897
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 will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge. I would be using layman's words, or maybe, my own words as how I understand them, hoping, you will understand it the same way that...
0
7969
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7886
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
8272
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
8258
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...
0
6688
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5847
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
5431
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3927
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2404
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

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.