I was trying to use the SQL AGENT Copy Database Wizard to make a duplicate of our existing database on the server (Detach / Reattach scenario). I am giving the destination DB a unique name and unique file names, so it's not a case of them already existing.
It keeps failing after detaching the original database. To make things more frustrating, SSMS won't let me re-attach the database either, until I go into the folder where the files are and re-assign the propagated folder/file permissions.
Anyone have an idea why this is happening? Why will it not properly copy the database?