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



這篇文章有幫助嗎?

 列印本文

Also Read

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

How do I connect via RDP on my Windows VPS?

Windows Firewall is active by default, so RDP access will first need to allowed in the firewall...

Enable URL Rewriting in Joomla

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

How to backup MSSQL database

How to (export) MSSQL Database in Reseller Account To export MSSQL Database. If you are...

Using URL Rewrite on Windows Hosting

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