This step by step guide should walk you through configuring the mailbox export process.
Most of the time these problems will result from the account you are trying to run the program as.