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

log asp script errors to a file

I have a IIS 6.0 server with ASP files. I am not that familiar with ASP, or
IIS. IIS is set to display informative error messages to the client. When
I get a script error, the first page load displays the error and subsequent
pages are blank. I don't know if this is default behavior, but it's kind of
annoying, and I was wondering if there is a way to make it always display
the error.

Secondly, I would like to log these errors to a file(of course with
additional information like the time of the error, the file that generated
the error, maybe a dump of the session, post and get variables, etc etc)
which would be even better than the first option.

I have looked around on the net for information on how to change these but I
haven't found any information so far, so any help would be appreciated.

thanks,
--Jason
Jun 6 '06 #1
3 1736

Jason wrote:
I have a IIS 6.0 server with ASP files. I am not that familiar with ASP, or
IIS. IIS is set to display informative error messages to the client. When
I get a script error, the first page load displays the error and subsequent
pages are blank. I don't know if this is default behavior, but it's kind of
annoying, and I was wondering if there is a way to make it always display
the error.

Secondly, I would like to log these errors to a file(of course with
additional information like the time of the error, the file that generated
the error, maybe a dump of the session, post and get variables, etc etc)
which would be even better than the first option.

I have looked around on the net for information on how to change these but I
haven't found any information so far, so any help would be appreciated.


http://www.aspfaq.com/show.asp?id=2335

--
Mike Brind

Jun 6 '06 #2

"Mike Brind" <pa*******@hotmail.com> wrote in message
news:11**********************@h76g2000cwa.googlegr oups.com...
Secondly, I would like to log these errors to a file(of course with
additional information like the time of the error, the file that
generated
the error, maybe a dump of the session, post and get variables, etc etc)
which would be even better than the first option.


http://www.aspfaq.com/show.asp?id=2335

Thanks. I'll try it and let you know how it works for me.
Jun 7 '06 #3
"Mike Brind" <pa*******@hotmail.com> wrote in message
news:11**********************@h76g2000cwa.googlegr oups.com...

Jason wrote:
I have a IIS 6.0 server with ASP files. I am not that familiar with ASP,
or
IIS. IIS is set to display informative error messages to the client.
When
I get a script error, the first page load displays the error and
subsequent
pages are blank. I don't know if this is default behavior, but it's kind
of
annoying, and I was wondering if there is a way to make it always display
the error.

Secondly, I would like to log these errors to a file(of course with
additional information like the time of the error, the file that
generated
the error, maybe a dump of the session, post and get variables, etc etc)
which would be even better than the first option.

I have looked around on the net for information on how to change these
but I
haven't found any information so far, so any help would be appreciated.


http://www.aspfaq.com/show.asp?id=2335

--
Mike Brind


Thanks! It works brilliantly. I added an extra thing to store session
data, and it's all I could ever ask for in error logging.

--Jason
Jun 7 '06 #4

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

Similar topics

3
by: FLOTServer | last post by:
Here's my problem: I run a gameserver that runs the game "Medal of Honor". On the game server is log file which contains all of the data from the players for that day (kills, deaths, etc...). I...
14
by: Akbar | last post by:
Hey there, Big-time curiosity issue here... Here's the test code (it's not that long)... it's to display a large number of image links with captions, ideally pulled in from an external file...
11
by: Konrad Den Ende | last post by:
I have a script placed somewhere in the body of my HTML-doc. I noticed that i'll be using the very same script in a large number of document (all of them as the script regards the time of the most...
3
by: Water Cooler v2 | last post by:
Questions: 1. Can there be more than a single script block in a given HEAD tag? 2. Can there be more than a single script block in a given BODY tag? To test, I tried the following code. None...
1
by: ancy | last post by:
hi all I am calling a procedure within script.Even if the prcoedure is not executed successfully. In log file it is recorded as procedure successfully executed .How to capture errors in log file ...
19
by: thisis | last post by:
Hi All, i have this.asp page: <script type="text/vbscript"> Function myFunc(val1ok, val2ok) ' do something ok myFunc = " return something ok" End Function </script>
2
by: Paul | last post by:
I have a PHP script that is triggered by a .forward file when incoming email arrives. When triggered, the script retrieves the email using the php imap functions, processes the email, and then...
15
by: Lawrence Krubner | last post by:
Does anything about this script look expensive, in terms of resources or execution time? This script dies after processing about 20 or 25 numbers, yet it leaves no errors in the error logs. This is...
3
by: GazK | last post by:
I have been using an xml parsing script to parse a number of rss feeds and return relevant results to a database. The script has worked well for a couple of years, despite having very crude...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
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:
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
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...

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.