Sometimes syntax errors are detected

Discussion in 'ASP General' started by sam.s.kong@gmail.com, Mar 11, 2006.

  1. Guest

    Hi!

    When I create or modify an asp file, obvious systax errors are not
    detected.
    For example:

    Sub MySub
    Response.Write "Hello"
    End

    It should end with "End Sub".
    But the server displays an error message like "Cannot display page".
    And I copy and delete all content in the source file, save it as an
    empty file, reload the page and the page displays an empty page.
    Now I paste the source into the file, save it, reload it, and the page
    displays the correct systax error with line number.

    Why can't the error be detected in the first place?

    Sam
    , Mar 11, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Saunders
    Replies:
    0
    Views:
    467
    John Saunders
    Aug 28, 2003
  2. Nehmo Sergheyev
    Replies:
    1
    Views:
    504
    Andrew Urquhart
    May 9, 2004
  3. Marcin Vorbrodt

    ::std sometimes needed, sometimes not

    Marcin Vorbrodt, Sep 16, 2003, in forum: C++
    Replies:
    24
    Views:
    762
    Jerry Coffin
    Sep 17, 2003
  4. Replies:
    1
    Views:
    502
    gkelly
    Nov 29, 2006
  5. Randy Smith
    Replies:
    2
    Views:
    444
    Randy Smith
    Apr 24, 2007
Loading...

Share This Page