Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 10th, 2005, 06:01 PM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default compilation error

sir
I 'm working with the wrox's BEGINNING JAVASCRIPT book and i tested the example page 657, chapter 15. WHEN I ' type http://localhost/FormSimple.htm i guet the message:

Erreur de compilation Microsoft VBScript error '800a04001' fin d' instruction attendue.

Dim objASPerror, blnErrorWritten, STRServerName, strServerIP,DimstrMethod,InfoPos, datNow,strQueyString,StrURL

Pages ASP error 'ASP 0212'

command directive @ not valid

/recevoirFormSimple.asp,line 4

l 'option ' LANGAGE=Javascript' unknown or not valid

----------------------------------------

this is the example 's code:

<html>

<body>


<FORM ACTION=RecevoirFormSimple.asp METHOD=POST ID=form1 NAME=form1>

<P>

  Prenom: <INPUT ID=txtPrenom NAME=txtPrenom>

</P>
<P>

  Nom: <INPUT ID=txtNom Name=txtNomFamille>
</P>
</form>

</BODY>

</html>


this is the code of 'RecevoirFormSimple.asp:


<%@ LANGAGE = JavaScript%>

<HTML>

<HEAD>

<%

  var nomFamille = Request.Form("txtNomFamille ")
%>

<BODY>
   <P>La valeur que vous avez entré pour votre prenom était

     <%= Request.Form("txtPrenom") </P>

   <p>la valeur que vous avez entre pour votre nom etait

     <%= nomFamille%><P>

</BODY>

</HTML>

Thank you very much for your help.

For any response please mail it to [email protected]


my PC IS HP N*7010

OS: WINDOWS xp professionnel with IIS5.0











 
Old February 10th, 2005, 06:25 PM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

Hey, u misspelled i think..

<%@ LANGAGE = JavaScript%>

It should be

<%@ Language=JavaScript %>



Om Prakash





Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation Error furqanms Pro Java 2 September 28th, 2007 11:22 AM
compilation error pratik28 C# 1 September 24th, 2006 07:39 AM
Compilation Error allyant ASP.NET 2.0 Basics 1 August 5th, 2006 05:51 PM
Compilation error Giri ASP.NET 1.0 and 1.1 Basics 3 August 3rd, 2005 04:14 PM
compilation error saint Classic ASP Databases 2 June 23rd, 2003 04:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.