Sometimes it could be due to multiple instances of the exe running unnecessarily in the background. Usually a reboot of the machine clears this error. Typically the default size of the maxfilehandle is sufficient for BDE. However, below is a link that details how to increase the maxfilehandle on your machine.