Any ideas on how I can get the line number of the command that has the error
on it without using a custom HTTP 500-100 error handler page? I cannot set
my site to use it, since it is hosted by another company (and they can't
change it because we're on a secure server sharing one certificate, and
changing it for us would change it for everyone.)
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:O8**************@TK2MSFTNGP11.phx.gbl...
Server.GetLastError() is only available in a custom 500 error handler
page.
--
http://www.aspfaq.com/
(Reverse address to reply.)
"ASP.Confused" <anonymous@> wrote in message
news:eR*************@tk2msftngp13.phx.gbl... I have a program that I'm trying to get error detection to work with.
To test it, I attempted using the following mispelled CreateObject
statement (which should cause an error):
Set myObject = CreateObject("ADODB.Connectiom")
Err.Number shows 429, which is normal. But Server.GetLastError reports
no error!
I would like to have line numbers and the line of source code, along
with the file name, of the offending code.
Any suggestions?