How do I log / track ASP errors on my web site?

M

MFA

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

Hi All
I am trying to track asp errors as described and explained in above page.
but I am getting error below.

------error----------
Microsoft VBScript compilation error '800a0408'

Invalid character

/500-try.asp, line 1


^
------Source file---
<% Set ASPErr = Server.GetLastError Response.Write
ASPErr.Description %>

Any one know why its happening..

Regards
Fayyaz
 
A

Aaron Bertrand - MVP

------Source file---
<% Set ASPErr = Server.GetLastError Response.Write
ASPErr.Description %>

Any one know why its happening..

Why is that all on one line? Something tells me you have a funky cut &
paste going on.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,138
Messages
2,570,799
Members
47,347
Latest member
RebekahStu

Latest Threads

Top