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



هل كانت المقالة مفيدة ؟

 طباعة

اقرأ أيضاً :

Where do I upload my website on Windows Hosting?

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

Custom error pages or 404's in Plesk

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

Import a MySQL or MSSQL database on Windows hosting

Importing Databases To import an existing database: If you are subscribed to several...

Where can I get a .publishsettings XML file for WebMatrix?

To obtain the XML file to use to upload/edit in WebMatrix, log into your Plesk account...

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