Sometimes, when importing IIF files, Quickbook will throw an "Error on Line X" warning.
To troubleshoot, try opening the file in Excel or another spreadsheet program. This allows you to view the line with the error to (hopefully) see what is causing it.