After the scan is finished, or when you close the program during the scan?
Anyway, what is the exact error message?