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



Răspunsul a fost util?

 Tipărire

V-ar mai putea interesa și

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

What to use for MSSQL database connection string?

Please use following connection string syntax for connecting MSSQL DB from your ASP/.NET...

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