Click here to Skip to main content
15,902,939 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
System.Data.SqlClient.SqlError: The media set has 2 media families but only 1 are provided. All members must be provided. (Microsoft.SqlServer.Smo)


What I have tried:

C#
I am restoring SQL DB Backup i am getting following error. i don't have any other backup. how to restore please help me 
Posted
Updated 20-Nov-16 17:29pm
Comments
[no name] 19-Nov-16 10:56am    
http://www.bing.com/search?q=The+media+set+has+2+media+families+but+only+1+are+provided
manoj s sherje 19-Nov-16 11:08am    
accidentally my laptop has been formatted but i received backup. i don't have any other db if you have any solution please tell me
Dave Kreskowiak 19-Nov-16 12:02pm    
Click this link -> Google[^]
and start reading.

1 solution

This error message means that the your database backup was striped and the backup stream was split into two destination files. You are trying to restore from a single backup file. You need both files to restore your database.
 
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