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

How to change php.ini settings?

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

What is the physical file path for my account?

The physical path to your account would be:   C:\inetpub\vhosts\your_username\   Replace...

Configuring Outlook and other email clients on Windows hosting?

Standard POP3 Configuration:Account Type: POP3Incoming Mail Server: <use server hostname or IP...

Plesk says ASP.NET 4.0, but I need 4.5

It's because 4.5 is simply an update of 4.0, therefore in Plesk the version appears as 4.0...