The state auditor claims that millions of dollars went to waste.