Ho un problema con la connessione ad un database access
Devo collegarmi ad un db che si trova in un'altra cartella del sito, ma non riesco a scrivere la path corretta.
L'errore che mi da è questo:
la stringa per la connessione è la seguente, la cartella è allo stesso livello di quella da cui parto: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.
Grazie!codice:<% Set DBC = Server.CreateObject("ADODB.Connection") Nomedb = Server.MapPath(".") & "/1234/nomedb.mdb" DBC.Open "DRIVER=Microsoft Access Driver (*.mdb);dbq=" & Nomedb %>
ciao

Rispondi quotando