Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/105795

From BetaArchive Wiki
Knowledge Base

BUG: Cannot Have a Pathname > 29 Char for SYSTEM.MDA

Article ID: 105795

Article Last Modified on 7/27/2001


  • Microsoft Open Database Connectivity 1.0

This article was previously published under Q105795

BUG# ODBCDBASE: 1852 (1.01.1928)


The ODBC Access driver does not recognize a SYSTEM.MDA file for which the path is longer than 29 characters.

The ODBC Access driver can be used to connect to secure Access databases. To do this, the user should specify a SYSTEM.MDA file associated with the Access database--by selecting the Options button in the Access Datasource Setup dialog box, and specifying a complete path for the SYSTEM.MDA file.

If this path is longer than 29 characters, the driver gives the following error during SQLConnect or SQLDriverConnect:

szSqlState = '08004', *pfNativeError = -1023
szErrorMsg="[Microsoft][ODBC Single-Tier Driver][ODBC File
Library]Invalid path

For example, the following path will work for SYSTEM.MDA (it is 29 characters long):


while the following does not work (it is 30 characters long):



Move the SYSTEM.MDA file to a different directory so that the path is less than 29 characters.


Microsoft has confirmed this to be a problem in the Access Driver version 1.01.1928. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: 1.01.1928 ODBC ACCESS

Keywords: kbbug KB105795