Are you using the overwrite flag if the database already exists?