Advertisement

05.21.2008 at 05:33AM PDT, ID: 23420503
[x]
Attachment Details

how to find the error in code on web page.

Asked by AndrewJDavis in Active Server Pages (ASP), Hypertext Markup Language (HTML), WebApplications

What i would like to know is if i load a web page (asp although i dont think it really matters what language) and IE reports an error that says something like

Line: 416
Char: 121
Error: some error description.

how can i tell what line is line 416?

The page has some includes at the top so i assume we need to work with the code that the server see's . So i right mouse click on the page and click view source which gives me the entire page with the includes in a text file. I have "Visual Web Developer 2008" on my computer so i can paste that code into that which shows a line number next to every line (including blank ones) however line 416 in no way refers to the error that is being displayed.
Should i be counting blank lines?
Do some lines not count because they are effectivley a coninuation of the previous line?
is there a free app that i can paste the source into that will show me the line text that is erroring (gee now i am making up words)?
would a different browser (eg firefox) give me better info on the error?

i know i could paste the code here and give you guys the error and you would solve it. but i would rather learn how to do this myself (the old give a man a fish, and he eats for a day. Teach him how to fish, and he eats forever......... although not with my fishing prowess ;)

Thanks in advance.Start Free Trial
[+][-]05.21.2008 at 05:43AM PDT, ID: 21614384

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.21.2008 at 06:50AM PDT, ID: 21615006

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Active Server Pages (ASP), Hypertext Markup Language (HTML), WebApplications
Sign Up Now!
Solution Provided By: mrdany
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628