Results 1 to 3 of 3

Thread: Includes

  1. #1
    Marge Guest

    Default Includes

    I received the following error message, when carrying out the beginners tutorial for ASP includes. I saved a file called &#039;hello&#039; and then tried to include it in another file. This is what happened:<BR>Active Server Pages error &#039;ASP 0141&#039; <BR><BR>Page Command Repeated <BR><BR>/andrea/hello.asp, line 1 <BR><BR>The @ command can only be used once within the Active Server Page. <BR>Any suggestions?<BR>

  2. #2
    Join Date
    Dec 1969

    Default ...

    Remove the @ command from your includes<BR><BR>-- Whol

  3. #3
    Medieval Dude Guest

    Default RE: Includes

    Make sure that yer include file doesn&#039;t have anything like:<BR>&#060;%@ Language=VBScript%&#062;<BR>at the top. Yer not allowed to have that twice in the same page (and when you include one file in another, they compile and run as one page). Make yer include file as simple as possible. Also, make sure you don&#039;t have header information in both the include file and regular file. If you do, you&#039;ll get a different error - something about HTTP Header already there (or something to that effect).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts