Ciao ragazzi,
sono disperato, non riesco a capire dove sta il problema . Premetto che non sono un esperto, ma solo uno studente alle prime armi.
Praticamente devo aggiornare delle quantita in un database, sottraendola da quella che inserisco in un form.

Questo è il codice, dove sbaglio?? Grazie per l'attenzione.
[l'errore è:
An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click here to find out more about this error.]
-------------------------------------------------------------
<!DOCTYPE HTML PUBLIC"-//W3C//DTD HTML
4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<%@language="JScript"%>

<html>
<head>
<%
var con;
var conString;
con = Server.CreateObject("ADODB.Connection");
conString = "Provider=Microsoft.Jet.OLEDB.4.0; "
+"Data Source="+Server.MapPath("auto.mdb");
con.Open(conString);
%>

</head>
<body>
<h1>Pagina C</h1>
<%
var sSQLString;
eid = new Enumerator(Request.QueryString ("ID"));
eq = new Enumerator(Request.QueryString ("qty"));

while (!eid.atEnd()) {
sSQLString = "UPDATE auto_nuove SET
quantita=quantita-"+eq.item()+" WHERE
id='"+eid.item()+"'";
con.Execute(sSQLString);
eid.moveNext();
eq.moveNext();
}

Response.Write("<p class='success'>Acquisto
avvenuto con successo.</p>");

var rst;
rst = Server.CreateObject("ADODB.Recordset");
sSQLString = " Select * from auto_nuove ";
rst = con.Execute(sSQLString);
%>
<table>
<caption>Parco auto aggiornato</caption>
<thead><tr><th>ID</th><th>Nome</th>

<th>Quantit&agrave</th>

<th>Costo</th></tr></thead>
<tbody>
<%
while (!rst.EOF) {
Response.write("<tr><td>"+ rst("id") +

"</td><td>"+ rst("nome") + "</td> <td>"+ rst

("quantita")+"</td> <td>&euro; "+ rst

("costo")+"</td></tr>");
rst.MoveNext( );
}
rst.Close( );
con.Close( );
rst = null;
con = null;
%>
<tr><td colspan="4"><a

href="lab12_3A.asp">Torna alla

homepage</a></td></tr>
</tbody>
</table>

</body>
</html>