Menu

syntax error

Help
Mohith
2004-02-27
2013-04-17
  • Mohith

    Mohith - 2004-02-27

    Hi,

    i downloaded your aspprofiler.asp
    After creating the intermediate file.
    when i click on "run" i get the following error:

    Line:157
    Char:10
    Error: Syntax error
    Code:0
    url:http://my/mohith/aspprofiler.asp

    my code:
    <%@ Language=VBScript %>
    <%
    %>
    <HTML>
    <HEAD>

    </HEAD>
    <BODY>
    <TABLE>
        <TR>
            <TD>Hello World</TD>
        </TR>

    </BODY>
    </HTML>

     
    • dressr

      dressr - 2004-04-23

      I have a similar error when running a similar Hello World ASP file. 

       
    • Zafer Barutcuoglu

      I don't have access to an ASP-enabled server right now, but try removing the @Language = VBScript directive. VBScript is default on most servers anyway.

      This should be corrected with the next release, after the project gets its first donation :)
      --

       
    • Stan Bubrouski

      Stan Bubrouski - 2004-05-25

      I can't use aspprofiler at all because I get javascript syntax errors in IE similar to what he got but my code doesn't contain a Language parameter.  Seems like nobody can make it work, seeing as it has basically 0 downloads and no releases in almost a year.

      Perhaps in the spirit of opensource you could simply provide an update and not expect payment?  Some of us have loans to pay you know...

       
    • Zafer Barutcuoglu

      Hi Stan,

      I developed ASPProfiler for very practical reasons and used it in production at a major portal company, where it's still in heavy use as is. I'm very surprised that it doesn't seem to work. Can you send me the code example where it does not work? Also the IE and IIS/ASP version.

      Best,
      --
      Zafer

       
  • John Doe

    John Doe - 2009-09-14

    This will work !
    Add the following line 534 in Sub ParseFile
    On Error Resume Next

    Private Sub ParseFile(s)
    On Error Resume next
       Window.Status = &quot;Parsing…&quot;

     
  • Zafer Barutcuoglu

    Thanks, hidiho. I updated the code with that line.

     

Log in to post a comment.