"JA" <> wrote in message
news:L4R8b.6629$...
> I can open the template as an ASP page or as an HTML page, and it's
fine. I
> can open the header (htm) or the footer (htm), and they are fine.
But when I
> open one of the ASP pages of my cart program (that calls the header
and
> footer files), I get this error message:
>
> Active Server Pages error 'ASP 0140'
> Page Command Out Of Order
> /header.htm, line 1
> The @ command must be the first command within the Active Server
Page.
>
> The first line on the header is:
> <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
I haven't used FP in a long time, but I would move that line into the
top of the actual ASP page (remove it from the Header page) and then
have the ASP insert the Header page just below that line. Like this:
<Begin ASP page here>
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<Insert Header Page here>
<The rest of the ASP continues here>
<Insert the footer page here>
<End of the ASP page>
--
Phillip Windell [CCNA, MVP, MCP]
WAND-TV (ABC Affiliate)
www.wandtv.com