Script Encoder

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Sam Low (samlow91xx_at_hotmail.com)
Date: 02/04/05


Date: Fri, 4 Feb 2005 23:33:52 +0800

I SCRENC an ASP page and I got the following error when it was called:

---------

Active Server Pages error 'ASP 0140'

Page Command Out Of Order

/comms.asp, line 1

The @ command must be the first command within the Active Server Page.

------------

Script encoder inserts <%@ LANGUAGE = VBScript.Encode %> to the front of the
scrambled file and it seems this is causing the error.

Any tips? Thanks

Sam



Relevant Pages

  • Re: How to execute a command line in Perlscript
    ... I have implemented "shell" and "puts" functions in my ASP code ... but `$_` return no result in @output array with a simple 'dir' command. ... >> This syntax works fine in a perl program but not in PerlScript ...
    (comp.lang.perl.misc)
  • Re: How to get Perlscript in ASP / IIS to execute command line system calls
    ... Perlscript is running inside of an ASP webpage, ... in the way and works with the DOS command interpreter without problems. ... Obviously there is no problem with perl calling DOS commands via ... ASP (and IIS) are "locked down" for security purposes. ...
    (comp.lang.perl.misc)
  • Re: vbscript WshShell.exec call in ASP
    ... The asp process would be excuting in the same directory as the source ... > Option Explicit ... No matter what command ... > try to exec, I get the error. ...
    (microsoft.public.scripting.vbscript)
  • Re: vbscript WshShell.exec call in ASP
    ... The asp process would be excuting in the same directory as the source ... > Option Explicit ... No matter what command ... > try to exec, I get the error. ...
    (microsoft.public.inetserver.iis.activeserverpages)
  • ASP "stop" command works, but breakpoint does not
    ... I'm using VS.NET 2003 to debug an ASP application locally. ... for ASP debugging under Project Properties--no asp.net debugging. ... Set command = Server.CreateObject ... ' Next statement causes an error, which is why I'm trying to debug. ...
    (microsoft.public.vsnet.debugging)