I have an MS Access 2007 accdb file that I no problems with when it is not encrypted. I can compact and repair with no problems. However, when I encrypt the database and try to compact and repair the file, I get 'invalid argument'. The file is 101 MB, I'm not at the 2 GB limit by far. Any suspicions? This file was recently imported into 2007 from 2003 (accdb from mdb). I have had the users testing it extensively. The problems comes once I encrypt the file.