It sounds too simple to work, but often the file structure in memory is corrupted.
Troubleshooting this error is a process of elimination. Follow these steps in order, checking if the problem is resolved after each one.
A common mistake is trying to open the ( .ANL ) or the Database file ( .mdb or .DB ) as an input file.
Copy everything from the section down to the FINISH command.