Total members 11889 |It is currently Thu Mar 28, 2024 2:42 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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...




Author:
Beginner
User avatar Posts: 54
Have thanks: 0 time

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

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

thank u dude...


Author:
Beginner
User avatar Posts: 54
Have thanks: 0 time

you are welcome .

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 4 posts ] 

  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     -  
 file descriptor vs file pointer     -  
 getting file name of html input file tag using jsp     -  
 2 different database     -  
 information about database     -  
 List all database in php     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com