Lansweeper wrote:
1) The database need to exist first.
You can detach the database and attach again using a different name.
I originally discarded this solution because I thought this could be a problem for the application (web or service). I guess that the db name is stored under some configuration file (maybe web.config).
Are you confirming that the db name is not referenced anywhere?
My guess is that your solution works if you move everything at the same time: if you change the db name and later you only move the application then the web service is not working anymore until you reinstall it on the final server since it loses the reference to the db
Thanks