Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error at Encode ASP pages

Status
Not open for further replies.

JCV

Programmer
Mar 14, 2002
33
AR
After I encoded my site with the Script Encoder (screnc.exe), when open in the Browser the .asp i receive the following error message:

Active Server Pages error 'ASP 0141'
Page Command Repeated
/scripts/pst_ProductsAct.asp, line 1
The @ command can only be used once within the Active Server Page.

In MSDN exists an report wich said that screnc.exe insert the header <%@ LANGUAGE = VBScript.Encode %>

What is the solution ?.


 
I would assume this means you were putting your own @language tag in the beginning of the file. Dlete it and re-encode, you should only have one now which is kosher.
 
I have deleted the <%@ LANGUAGE = VBScript %> directive and re-encode, but the Encoded page contains more @, and the error is the same.

<%@ LANGUAGE = VBScript.Encode %>

<%#@~^FwAAAA==@#@&r2DkKxPA6ask1kO@#@&CQYAAA==^#~@%>

have you ever used this encode succesfully ?

I ask you that, because after encoded the page show me the same error and more @ character. What I suposse to do if I re-encode and doesn´t work?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top