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

HTTP Error 503 - Service Temporarily Unavailable

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

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

Where can I get WebMatrix?

You can download WebMatrix for free:   http://www.microsoft.com/web/webmatrix/

Using URL Rewrite on Windows Hosting

Rewrite rules should be placed in your web.config file.    An example rule to redirect from...