Error: Too many open files. You may need to increase Maxfilehandle limit in IDAPI configuration

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.

http://www.mget.nl/increase-maxfilehandle-limit.html