Connecting Tech Pros Worldwide Forums | Help | Site Map

how can i get line number of file where error has occured?

Newbie
 
Join Date: Oct 2008
Posts: 2
#1: Oct 29 '08
how can i get line number of file where error has occured?

DrBunchman's Avatar
Moderator
 
Join Date: Jan 2008
Location: Winchester, UK
Posts: 930
#2: Oct 29 '08

re: how can i get line number of file where error has occured?


Hi ranaharis,

Welcome to Bytes.com! I hope you find the site useful.

To find the line number where an error has occurred you need to turn off Friendly HTTP Error Messages. To do this in Internet Explorer for example you would go to Tools, Internet Options, Advanced and find the checkbox in the list.

Now when you browse your ASP pages you will see more detailed information about the error including the line number where it occurred.

Hope this helps,

Dr B
Reply