Forums
This topic is locked
Active Server Pages error 'ASP 0141'
Posted 19 Sep 2002 09:52:19
1
has voted
19 Sep 2002 09:52:19 Jeffrey Jones posted:
I am getting this error but i dont know what it means. can someone give me a clue or explanation Active Server Pages error 'ASP 0141'
Page Command Repeated
/TMP26z342odod.asp, line 17
The @ command can only be used once within the Active Server Page.
Replies
Replied 19 Sep 2002 10:55:23
19 Sep 2002 10:55:23 Vince Baker replied:
Open the page in the code view and you will see that the first 2 lines are duplicated. You can only have one Global script definition per page.
It will either show:
<%@LANGUAGE="VBSCRIPT"%>
<%@LANGUAGE="VBSCRIPT"%>
or
<%@LANGUAGE="JAVASCRIPT"%>
<%@LANGUAGE="JAVASCRIPT"%>
EIther way, remove the second line so the first line (the very top of the page) remains.
Regards
Vince
Response.write("The best line of code you can ever use"
VBScript | ASP | HTML | SQL | Oracle | Hosting
It will either show:
<%@LANGUAGE="VBSCRIPT"%>
<%@LANGUAGE="VBSCRIPT"%>
or
<%@LANGUAGE="JAVASCRIPT"%>
<%@LANGUAGE="JAVASCRIPT"%>
EIther way, remove the second line so the first line (the very top of the page) remains.
Regards
Vince
Response.write("The best line of code you can ever use"
VBScript | ASP | HTML | SQL | Oracle | Hosting
Replied 19 Sep 2002 10:57:14
19 Sep 2002 10:57:14 Jeffrey Jones replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Open the page in the code view and you will see that the first 2 lines are duplicated. You can only have one Global script definition per page.
It will either show:
<%@LANGUAGE="VBSCRIPT"%>
<%@LANGUAGE="VBSCRIPT"%>
or
<%@LANGUAGE="JAVASCRIPT"%>
<%@LANGUAGE="JAVASCRIPT"%>
EIther way, remove the second line so the first line (the very top of the page) remains.
Regards
Vince
Response.write("The best line of code you can ever use"
VBScript | ASP | HTML | SQL | Oracle | Hosting
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Thank you it worked
Open the page in the code view and you will see that the first 2 lines are duplicated. You can only have one Global script definition per page.
It will either show:
<%@LANGUAGE="VBSCRIPT"%>
<%@LANGUAGE="VBSCRIPT"%>
or
<%@LANGUAGE="JAVASCRIPT"%>
<%@LANGUAGE="JAVASCRIPT"%>
EIther way, remove the second line so the first line (the very top of the page) remains.
Regards
Vince
Response.write("The best line of code you can ever use"
VBScript | ASP | HTML | SQL | Oracle | Hosting
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Thank you it worked