Table of contents
Collapse the table of content
Expand the table of content

Out of MS-DOS file handles. (Error 3042)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Applies to: Access 2013 | Access 2016

Either close some files, close other applications, or increase the number of available MS-DOS file handles.

To increase the number of file handles

  1. Edit your CONFIG.sys file using Microsoft Windows Notepad or another text editor. The CONFIG.sys file is usually located in the root directory of your boot drive. If you do not have a CONFIG.sys file on your system, you must create one that contains the line listed in step 2.

  2. Look for the line that reads FILES = x, where x is some number. Increase the number specified by the FILES command; the exact number of handles you enter depends on the applications you run and the number of files that are open at any given time. If other applications open multiple files, you may need to specify more file handles. As you increase the number of file handles, remember that each handle consumes more memory. For additional information, refer to your operating system manual.

  3. Exit Microsoft Windows.

  4. Reboot your system, and then try the operation again.

Access for developers forum on MSDN
Access help on
Access help on
Search for specific Access error codes on Bing
Access forums on UtterAccess
Access wiki on UtterAcess
Access developer and VBA programming help center (FMS)
Access posts on StackOverflow

© 2018 Microsoft