Microsoft VBScript compilation error '800a0400' option explicit

i am attaching the error , and then i am pasting the full asp code below it.

please help


error message
Microsoft VBScript compilation error '800a0400'

Expected statement

/test11.asp, line 7

option explicit
^
Now the asp file
______________________

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<% [at] LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>

<% Response.CharSet = "UTF-8" %>
<% option explicit %>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>New Page 1</title>
</head>

<body>
<% response.write "hello" %>

</body>

</html>




>
S N [ So, 06 April 2008 23:25 ] [ ID #1936566 ]

Re: Microsoft VBScript compilation error '800a0400' option explicit

out of order commands...

try this:

<% [at] LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<% option explicit %>
<% Response.CharSet = "UTF-8" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>New Page 1</title>
</head>
<body>
<% response.write "hello" %>
</body>
</html>
Jon Paal [ Mo, 07 April 2008 00:27 ] [ ID #1937230 ]
Webserver » microsoft.public.inetserver.asp.general » Microsoft VBScript compilation error '800a0400' option explicit

Vorheriges Thema: http://localhost not working ,IIS 5.1
Nächstes Thema: how to save page address in browser history