Ask a Question related to ASP, Design and Development.
-
Matthew Louden #1
MS VBScript Compilation error 800a0401
I have no idea what's wrong with the following ASP statement:
Response.Write "<select name=\"id\">"
MS VBScript Compilation error 800a0401
expected end of statement
However, if I do the following, it will be fine:
<select name="id">
<%
%>
</select>
any ideas??
Matthew Louden Guest
-
error message: Microsoft JScript compilation error '800a03ec'
Recieved following error message: Microsoft JScript compilation error '800a03ec' Expected ';' ... -
Microsoft VBScript compilation (0x800A0401) error
Hi, please could anyone help me with a problem I am having with DW. I am doing a tutorial which comes with DW: Building a Master-Detail Page Set... -
800A0401: Expected End of Statement
I am trying to get this code going but always the following error message: Error Type: Microsoft VBScript compilation (0x800A0401) Expected end... -
Server Error in '/' Application - Compilation Error - Temporary ASP.NET Files
I have a site that works fine on my local box. I then copy it to my production server (Win2003) and when I try to access the site I get: Server... -
Microsoft VBScript compilation error
Hi Gerry, In VBScript, you don't use square brackets for the parameter name. Try: If (Request.Form("reviews") <> "") Then Best regards,... -
Manohar Kamath [MVP] #2
Re: MS VBScript Compilation error 800a0401
Response.Write "<select name=""id"">"
Within VBScript, you escape a " with another " and not \.
--
Manohar Kamath
Editor, .netBooks
[url]www.dotnetbooks.com[/url]
"Matthew Louden" <jrefactors@hotmail.com> wrote in message
news:ufKKNVpjDHA.2512@TK2MSFTNGP09.phx.gbl...> I have no idea what's wrong with the following ASP statement:
>
> Response.Write "<select name=\"id\">"
>
> MS VBScript Compilation error 800a0401
> expected end of statement
>
> However, if I do the following, it will be fine:
>
> <select name="id">
> <%
>
> %>
> </select>
>
>
> any ideas??
>
>
Manohar Kamath [MVP] Guest
-
Ray at #3
Re: MS VBScript Compilation error 800a0401
The \ character is used to escape characters in jscript, not vbscript. In
vbscript, you write "" to escape a " character in a string.
Response.Write "<select name=""id"">"
Ray at work
"Matthew Louden" <jrefactors@hotmail.com> wrote in message
news:ufKKNVpjDHA.2512@TK2MSFTNGP09.phx.gbl...> I have no idea what's wrong with the following ASP statement:
>
> Response.Write "<select name=\"id\">"
>
> MS VBScript Compilation error 800a0401
> expected end of statement
>
> However, if I do the following, it will be fine:
>
> <select name="id">
> <%
>
> %>
> </select>
>
>
> any ideas??
>
>
Ray at Guest



Reply With Quote

