Fix LastAttDate
Better Error Handling on CreateDatabase