Link to home
Start Free TrialLog in
Avatar of rivkamak
rivkamakFlag for United States of America

asked on

Error 500 resume next

I have a complicated asp page programmed, and I put a resume next on the page so my clients don't see the 500 error on non esential problems.
But then I see the error doesn't get logged in my logs. (my 500 error page doesn't get run)
Is there a way to get around that? the client shouldn't realize anything is wrong, but I should still get notified that there is a problem?
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rivkamak

ASKER

Why is it that sometimes I get a specific line number, and some sites on the same server always give me a 500 error with a 0 in the line number?
What might that indicate as the problem?
Is this on an sql command?
something on my page is throwing the 500 error.
sometimes i get a real line number and sometimes i just get 0.
What does line number: 0 mean?
I'm rusty on classic asp but from what I can remember it means the error wasn't with the code itself but in the execution of the code, an example would executing a sql command where the error is returned from your db connection and not from the sql statement itself.
Is there something I need to set up in the website IIS manager?
There is nothing you can do with it - there is no line number because the error occurred outside the code.  You could just add into your error logging some suggestive comment that indicates where it happened.