Salve, sto svolgendo un progetto di tecnologie del web...devo visualizzare le pagelle di un alunno il quale si logga tramite una pagina html.
Riporto le due pagine:
LOG.HTML
<html>
<head>
<title> login </title>
</head>
<form action="studenti.asp" method="post">
inserire email:
<input type="text" name="logmail" value="">

inserire profilo:
<input type="text" name="logprof" value="">

<input type="submit" name="log" value="entra">
</form>
</html>

e STUDENTI.ASP
<%@Language="VBScript" %>
<html>
<head>
<title>pagella</title>
</head>
<body>
<%
Dim miaConnessione
Dim cn
miaConnessione ="driver={Microsoft Access Driver (*.mdb)};" & "dbq=" & Server.MapPath("DB-ProgettoPagelle.mdb")

Set cn = Server.CreateObject("ADODB.Connection")
cn.open miaConnessione

Dim mioRecordSet
Set mioRecordSet=Server.CreateObject("ADODB.RecordSet" )

Dim STRSQL, stremail

stremail =Request.Form("logmail")
STRSQL = "SELECT [Materie].[Descrizione], [Pagella].[Giudizio] "
STRSQL = STRSQL & " FROM [Materie], [Persone], [Pagella] "
STRSQL = STRSQL & " WHERE [Materie].[ID_Materia] = [Pagella].[ID_Materia] and [Pagella].[ID_Persona] = [Persone].[ID_Persone] and [Persone].[eMail]=" & stremail & ";"

mioRecordSet.Open "Pagelle", cn

Response.write("STRSQL" & mioRecordSet(("Descrizione")))

%>

<input type="submit" name="unlog" value="esci" OnClick="log.html">
</body>
</html>

a questo punto quando faccio il log-in da sempre errore sulla connessione...in particolare il più frequente è il seguente:
Tipo di errore:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][Driver ODBC Microsoft Access] Istruzione SQL non valida. Prevista 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT' o 'UPDATE'.
/tecnologie/studenti.asp, line 25


qualcuno può aiutarmi???????????
Ringrazio!