SQL Restore Database Error !

Junior Spellweaver
Joined
Oct 31, 2008
Messages
113
Reaction score
0
TITLE: Microsoft SQL Server Management Studio Express
------------------------------

Restore failed for Server 'JADER-3AB2E806F\SQLEXPRESS'. (Microsoft.SqlServer.Express.Smo)
------------------------------
ADDITIONAL INFORMATION:

System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing 'GunzDB' database. (Microsoft.SqlServer.Express.Smo)
-----------------------------
 
the database already exist
go to the folder which is C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL (if u installed it there)
delete GunzDB and GunzDB_Log and then try again and it works :D
 
Upvote 0
Thank you for your reply when i choose the option >> Add and >> gunzdb.bak

and press ok. then when i tick it it comes that error i did in the post...

What can i do ?
 
Upvote 0
I had that error aswel, when you are in the restore screen go to Options on the left, and then check the Overwrite Excisting Database ;) Good luck
 
Upvote 0
Ok this is not a joke lol
1)backup your database
2)Delete your database.
3)right click databases
3)click create new database
4)give a name to your database
5)go to the options
6) under recovery model change it to full
7)hit apply or ok w/e is fine.
8)open up the database
9)hit restore from backup file
10)choose the file and w/e else and TADA done.
 
Upvote 0
Back