Applies to: Microsoft SQL Server 2005/2008 using SQL Server Management Studio as administrative tool.
Symptom
Restore failed for Server <Instance Name>. (Microsoft.SqlServer.Smo)
Additional information:
System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing <Current Database Name or Target DB Name>. (Microsoft.SqlServer.Smo)
Cause.
This error appears when you are trying to restore a backup set that was not created on the database that you want to apply this restore.
Solution.
To apply this restore and prevent this error message, you will need to select "Overwrite the existing database" on the restore dialog as shown in the image below.
No comments:
Post a Comment