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 dit antwoord nuttig?

 Print dit artikel

Lees ook

Where do I upload my website on Windows Hosting?

On our Windows Hosting plans, your website should be uploaded to your httpdocs folder.

Multiple Windows hosting accounts and logging into Plesk

If you have multiple Windows hosting plans with us, when logging into Plesk, you need to login...

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

How do I use pretty permalinks in WordPress on Windows hosting?

To use "Pretty Permalinks" in WordPress on our Windows hosting plan requires some added...