rivkamak
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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Is this on an sql command?
ASKER
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?
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.
ASKER
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.
ASKER
What might that indicate as the problem?