Have you maybe saved a scan to an invalid format? For instance, my program sometimes saves a file as a .pdn if I'm not watching out...