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



Помог ли вам данный ответ?

 Распечатать статью

Также читают

Changing folder permissions in Plesk

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

HTTP Error 503 - Service Temporarily Unavailable

On our Windows hosting plans, if while browsing your domain name, you encounter the error: HTTP...

Custom error pages or 404's in Plesk

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

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