Unterminated String Constant
I have a page in the web root of a client's site that loads properly. There are several included files, a database query, and display code. There is another page in a subfolder, dev2, that is almost identical except for renaming some of the recordset variables as we are upgrading from Access to SQL Server. For example, in the dev file we changed <%=rs("Tt.cID")%> to <%=rs("cID")%>. Except for 6 changes like that the two files are identical.
When we load the second file, however, it loads with page errors. The page looks fine, but in the status bar there is an error icon, and when clicked, shows 21 Unterminated String Constant errors. The last one is on line 1156. If I count all the lines in all the files, including the included files, I only find 766 total lines. The include files are in different folders but are identical.
I have two questions. The first is how can I find the error when the line number is so far off? The second question is how can IE find that many lines of code?
Any help would be greatly appreciated.
Have a great day!
Loyd Campbell
|