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



Cette réponse était-elle pertinente?

 Imprimer cet article

Consultez aussi

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

Enabling HTTP Compression In Windows Hosting

In your web.config file, add the following line of code to enable HTTP...

Where do I upload my website on Windows Hosting?

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

Where can I get WebMatrix?

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

Create SPF record in Plesk

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