I am using the Application_Error
event for handling the exceptions and it catches almost all exceptions correctly. However in some pages it catches with exception "File does not exist" and I am not able to find from where it exactly occurs. When I comment the Application_Error
code, surprisingly that web page works fine.
My main concern is how can trace back to the line of code from where it threw to Application_Error
function.