true said, you need to check sysdbmainplan_history table in MSDB database, againts the database name which was exists earlier and remove the records if they exists.
Hemantgiri S. Goswami | MS SQL Server MVP
-------------------------
"Humans don't have Caliber to PASS TIME , Time it self Pass or Fail Humans" - by Hemantgiri S. Goswami
http://hemantgirisgoswami.blogspot.com
http://forums.surat-user-group.org/

Disclaimer: This post is provided as is, for the sake of knowledge sharing only.