No-one took full account of how complex the project was going to be, says the spending watchdog.