Click here to Skip to main content
12,399,799 members (50,339 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#3.5 database
I was able to make a backup copy of the database, but I emerged a problem in restoring by using C#.net and MS SQLSERVER Management 2008 R2
Posted 7-Feb-13 4:46am
Updated 7-Feb-13 5:24am
v2
Comments
ryanb31 7-Feb-13 10:53am
   
Don't keep us in suspense. What's the problem?
Mortada7 7-Feb-13 11:27am
   
the problem in restoring the db but the backup is ok..
ryanb31 7-Feb-13 11:29am
   
OK, so, what's the problem?
Mortada7 7-Feb-13 11:37am
   
I think that the problem in non-retrieval database in MSSQLSERVER Management 2008 R2 so I did the following:
1-uninstalling the MSSQLSERVER and reinstall But without the benefit.
I want to help, please..
Mortada7 7-Feb-13 11:43am
   
the problem i can't restor the db and Message that appears says that the problem is in the code the following:
restor.SqlRestore(server);where restor is the object from Restor Class

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

With that little info is't difficult to help, but this might be of use: Backing up an SQL Database in C#[^] - it covers some of the more frustrating elements of back up and restore.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 7 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100