Windows Vista Forums

Errors on Page.

  1. #1


    Darrin Guest

    Errors on Page.

    Hi all, I have an asp app that I have in production and have had for some time. Yesterday, a client sent me an email with the following:

    Done, but with errors on page.

    When he looked at the error, it had in essence:

    Line 224,
    Char 31,
    Expected End of Statement.

    Here is the line of code:

    html_begin=html_begin & "<div id=""search_suggest" & id & " " "></div>" - could it be the & " " ">???

    BUT, I have several includes ahead of this so I suspect this is not the actual line.

    Anyway, when viewing this site in Firefox I don't get this error, but when I did so in IE6 I get the error.

    Is there anyway to fix this? Or do I just live with it.

    The only functionality that I lose is the Logout and Printer Friendly Buttons.

    Thanks.

      My System SpecsSystem Spec

  2. #2


    T Lavedas Guest

    Re: Errors on Page.

    On Mar 9, 1:18*pm, "Darrin" <darre...@xxxxxx> wrote:

    > Hi all, I have an asp app that I have in production and have had for sometime. Yesterday, a client sent me an email with the following:
    >
    > Done, but with errors on page.
    >
    > When he looked at the error, it had in essence:
    >
    > Line 224,
    > Char 31,
    > Expected End of Statement.
    >
    > Here is the line of code:
    >
    > html_begin=html_begin & "<div id=""search_suggest" & id & " " "></div>" - could it be the & " " ">???
    >
    > BUT, I have several includes ahead of this so I suspect this is not the actual line.
    >
    > Anyway, when viewing this site in Firefox I don't get this error, but when I did so in IE6 I get the error.
    >
    > Is there anyway to fix this? Or do I just live with it.
    >
    > The only functionality that I lose is the Logout and Printer Friendly Buttons.
    >
    > Thanks.
    Since it doesn't support VBScript, Firefox ignores the script section
    - therefore, no error is reported.

    The problem in IE is that the last pair of double quotes is split by a
    space. The pair must be immediately consecutive to escape the double
    quote. That is, ...

    html_begin=html_begin & "<div id=""search_suggest" & id & " ""></
    div>"

    Tom Lavedas
    ***********
    http://there.is.no.more/tglbatch/

      My System SpecsSystem Spec


Errors on Page.
Similar Threads
Thread Forum
Internet explorer errors on page Software
Blue Screen - Page fault in non page area Vista performance & maintenance
vista print spooler and page count errors. Vista print fax & scan
explorer errors, program errors, no task manager Vista performance & maintenance
How to Compose a Page From Grids Defined Outide the Page? Avalon