Connection strings for Access 2007
OLE DB providers for Access 2007
ODBC drivers for Access 2007
.NET libraries for Access 2007
ACE OLEDB 12.0
Usage Provider=Microsoft.ACE.OLEDB.12.0
Manufacturer Microsoft
Standard security
With database password
This is the connection string to use when you have an Access 2007 database protected with a password using the "Set Database Password" function in Access.
Some reports of problems with password longer than 14 characters. Also that some characters might cause trouble. If you are having problems, try change password to a short one with normal characters.
DataDirectory functionality
Network Location
Microsoft Access accdb ODBC Driver
Usage Driver={Microsoft Access Driver (*.mdb, *.accdb}
Manufacturer Microsoft
Standard Security
Workgroup
No changes were made to the .mdw file format for Office Access 2007. The Office Access 2007 Workgroup Manager creates .mdw files that are identical to those that are created in Access 2000 through Access 2003. The .mdw files that are created in those earlier versions can be used by databases in Office Access 2007.
Exclusive
Enable admin statements
To enable certain programatically admin functions such as CREATE USER, CREATE GROUP, ADD USER, GRANT, REVOKE and DEFAULTS (when making CREATE TABLE statements) use this connection string.
Specifying locale identifier
Use this one to specify the locale identifier which can help with non-US formated dates.
The above example uses the en-gb locale identifier (2057)
.NET Framework Data Provider for ODBC
Usage System.Data.Odbc.OdbcConnection
Manufacturer Microsoft
Use an ODBC driver from .NET
See the respective ODBC driver's connection strings options. The .net OdbcConnection will just pass on the connection string to the specified ODBC driver. Read more here.
.NET Framework Data Provider for OLE DB
Usage System.Data.OleDb.OleDbConnection
Manufacturer Microsoft
Use an OLE DB provider from .NET
See the respective OLEDB provider's connection strings options. The .net OleDbConnection will just pass on the connection string to the specified OLEDB provider. Read more here.