Switch to full style
Learn how to use MS-DB
Post a reply

Restoring SQL Database from the .BAK File Problem

Wed Mar 09, 2011 2:25 pm

Hi friendzz...
I am a new bie to MS SQL Server 2005. When iam trying restore SQL database (backup file .bak extension) using the Restore database option in SQL server 2005 it will show the error with the following


" Restore failed for Server 'SAI'. (Microsoft.SqlServer.Smo)

ADDITIONAL INFORMATION:

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


plz any body help me on this as soon as possible...

Thanks in advance...



Re: Restoring SQL Database from the .BAK File Problem

Thu Mar 10, 2011 10:14 pm

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.

http://www.sqlcoffee.com/Troubleshooting019.htm

Re: Restoring SQL Database from the .BAK File Problem

Tue Mar 15, 2011 4:16 pm

thank u dude...

Re: Restoring SQL Database from the .BAK File Problem

Tue Mar 15, 2011 4:20 pm

you are welcome .

Post a reply
  Related Posts  to : Restoring SQL Database from the .BAK File Problem
 database connection pooling problem     -  
 Downloading & Uploading File through Oracle Database     -  
 Problem in creating manifest file     -  
 Encrypt/Decrypt a file from source file to target file.     -  
 Copy file to file in java code- implementation     -  
 getting file name of html input file tag using jsp     -  
 file descriptor vs file pointer     -  
 2 different database     -  
 information about database     -  
 List all database in php     -