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")



Was this answer helpful?

 Print this Article

Also Read

Changing folder permissions in Plesk

From the Plesk panel, go to "Websites & Domains" and then "File Manager".   To the...

How do I publish using Web Deploy?

For detailed instructions for publishing using Web Deploy:...

"Connection timed out" error when using Web Deploy

If you experience a "Connection timed out" error when using WebMatrix, Visual Studio, etc., it is...

What to use for MSSQL database connection string?

Please use following connection string syntax for connecting MSSQL DB from your ASP/.NET...