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

Create SPF record in Plesk

Creating an SPF record can help with delivery sending issues and from other server rejecting your...

Import a MySQL or MSSQL database on Windows hosting

Importing Databases To import an existing database: If you are subscribed to several...

What to use for MSSQL database connection string?

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

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...