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

Connecting to my database remotely?

Remote database connections to MySQL/MSSQL are not supported on our shared/reseller hosting...

How do I publish using Web Deploy?

For detailed instructions for publishing using Web Deploy:...

Configuring Outlook and other email clients on Windows hosting?

Standard POP3 Configuration:Account Type: POP3Incoming Mail Server: <use server hostname or IP...

Enabling HTTP Compression In Windows Hosting

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

Enable URL Rewriting in Joomla

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