Red Gate forums :: View topic - Comparing a database with a backup file
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Comparison SDK Previous Versions
SQL Comparison SDK Previous Versions forum

Comparing a database with a backup file

Search in SQL Comparison SDK Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
margiu



Joined: 23 Feb 2011
Posts: 2

PostPosted: Wed Feb 23, 2011 8:50 pm    Post subject: Comparing a database with a backup file Reply with quote

Do you have any example for comparing and synchronizing a database with a backup file??
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6667

PostPosted: Thu Feb 24, 2011 12:08 pm    Post subject: Reply with quote

There are some examples on the SDK wiki:
Back to top
View user's profile Send private message
margiu



Joined: 23 Feb 2011
Posts: 2

PostPosted: Fri Feb 25, 2011 11:36 am    Post subject: Reply with quote

Thanks Brian, but I've a problem with the example code "Compare live database data to a backup". In line 30
IList<IBackupSet> backupSets = backupDB.GetBackupSets(files, passwords);

SQLBackupReaderLoadException: Cannot load the Backup Reader dll!
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6667

PostPosted: Fri Feb 25, 2011 12:50 pm    Post subject: Reply with quote

Yep, probably should have mentioned that the BackupReader code is 32-bit only. Normally you can compile your SDK project as AnyCpu, but once you reference the Backup Reader you have to compile your code as x86 code.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group