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



Byla tato odpověď nápomocná?

 Tisknout tento článek

Také čtěte

Custom error pages or 404's in Plesk

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

"Connection timed out" error when using Web Deploy

If you experience a "Connection timed out" error when using WebMatrix, Visual Studio, etc., it is...

Cannot access WebAdmin in Plesk

In order to use the WebAdmin, your domain name is required to connect.   If you are not...

Enable URL Rewriting in Joomla

To enable URL rewriting in Joomla:   In "Global Configuration"   Select "Yes" for "Use URL...