ciao a tutti, spero possiate aiutarmi!

come posso modificare questo codice:

<%
Response.Buffer = true;
var Cn = new ActiveXObject("ADODB.Connection");
Cn.Open("driver={Microsoft Access Driver (*.mdb)};dbq=" + Server.MapPath("\public/login.mdb"));
%>


affinchè non si verifichi questo errore?

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.


inserendo il database nella stessa cartella del file .asp e sostituendo ovviamente:

Server.MapPath("\public/login.mdb"));

con:

Server.MapPath("login.mdb"));

tutto funziona alla meraviglia!

help!!!