The message means your QIF file is missing the account header and your QIF file is not a 'correct' QIF Quicken file. You can import into a cash account and then move transactions (cut and paste transactions) under another account.
Quicken shows a message "Account must be selected" for a selected QIF file for the following cases: