I have a package built, that on first couple of tries, worked beautifully. Now, I "often", not always, get an error on one of the tasks. The package backs up dbs, restores them on another server, and then also does a logical file rename. The issue I see, is the logical rename sometimes fails. Exact same execute SQL task, with exact same commands. I'm wondering, is it possible that depending on server response, the restore has not fully put the server in multi-user mode or some such thing, before the next task fires off to do the rename? Would it be best to leave the db in single user mode until I rename, and then set it in multi-user after, or maybe some form of a "pause" (which I hate to inflect in cases where it is not needed) between the tasks?
mpleaf