DSNless connection string



DSNless connection string for use with .mdb MS Access, etc.:

"DRIVER={Microsoft Access Driver (*.mdb)};
DBQ=C:\inetpub\vhosts\yourdomain.com\database.mdb"

Or

conn.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("./db/database.mdb")



Esta resposta foi útil?

 Imprimir este Artigo

Leia também

Custom error pages or 404's in Plesk

Setting Up Custom Error Documents on Plesk 11 Windows   In order to setup custom error...

How to backup MSSQL database

How to (export) MSSQL Database in Reseller Account To export MSSQL Database. If you are...

How to change php.ini settings?

To modify PHP settings in Plesk:   Websites & Domains --> Show Advanced Operations...

How do I connect via RDP on my Windows VPS?

Windows Firewall is active by default, so RDP access will first need to allowed in the firewall...