Click here to Skip to main content
15,921,276 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Restore database error in sql server 2005

How to restore database error

TITLE: Microsoft SQL Server Management Studio

Restore failed for Server 'kannan\SQLEXPRESS'.  (Microsoft.SqlServer.Smo)

For help, click:


System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing 'FinanceManagement' database. (Microsoft.SqlServer.Smo)

For help, click:



The error message is pretty self-explanatory - you are trying to restore a database into a different database. Restore it into teh original database, and it should work fine.
Share this answer
restore database databasename from disk='Path' with replace

Run this query.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900