Red Gate forums :: View topic - newer version of SQL Compare
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

newer version of SQL Compare

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



Joined: 29 Jun 2010
Posts: 11

PostPosted: Tue Sep 27, 2011 10:07 am    Post subject: newer version of SQL Compare Reply with quote

Hello
i want to write Dll that comper two snapshot files .
to genarate the SNP files im using Redgate's free tool SQL Snapper
when i load the files with C#
CustomerDB.LoadFromDisk(@"D:\bcp\YACOVR_SQLHASHAVIT.HashSQL.snp");

i get err "The database snapshot was saved by a newer version of SQL Compare"

please advice
_________________
Regards
yacov -R
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6670

PostPosted: Wed Sep 28, 2011 11:05 am    Post subject: Reply with quote

Hello Yacov,

I believe we have an existing support call about this that you submitted by email. Sounds like all you need to do is install the latest SQL Compare and grab the DLLs out of the installation folder. The SDK installation typically lags behind the rest of the Red Gate SQL Tools when it comes to releasing updates.
Back to top
View user's profile Send private message
yacov



Joined: 29 Jun 2010
Posts: 11

PostPosted: Wed Sep 28, 2011 12:40 pm    Post subject: newer version of SQL Compare Reply with quote

Hello Brain
How i Get the latest version of SQL Compare
Regards yacov
_________________
Regards
yacov -R
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6670

PostPosted: Wed Sep 28, 2011 1:14 pm    Post subject: Reply with quote

Downloading the latest SQL Compare demo will get the binaries you need.

http://www.red-gate.com/products/sql-development/sql-compare/
Back to top
View user's profile Send private message
yacov



Joined: 29 Jun 2010
Posts: 11

PostPosted: Sun Oct 02, 2011 6:49 am    Post subject: version of SQL Compare Reply with quote

Hello Brian
Thank you for answer ,do you mean that i need to buy new version of sql comper
_________________
Regards
yacov -R
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6670

PostPosted: Mon Oct 03, 2011 10:17 am    Post subject: Reply with quote

If you're making snapshots from SQL Compare 9, you need the SQL Compare 9 binaries in the SDK to read it back. Problem is there is no v9 of the SDK, so you can't buy an upgrade at this point.

You may want to wait a few weeks until the SDK 9 upgrade is finished going through testing. There are a few problems at the moment with using the v9 binaries - first of all you have to get them from the SQL Data Compare distribution because SQL Compare is merging the engine into the executable and second, it's error-city when I try to compile the SQL Compare Engine code samples with the v9 engine.

Looks like it requires .NET 3.5 for a start, and also there are lots of compiler errors around the WriteToFile stuff: I would assume they've rearranged the API again there. If you want to give it a try with the SQL Data Compare version of engine, be my guest, but I don't have any answers at this point if your code doesn't compile any more.
Back to top
View user's profile Send private message
yacov



Joined: 29 Jun 2010
Posts: 11

PostPosted: Mon Oct 03, 2011 10:32 am    Post subject: version of SQL Compare Reply with quote

Hello Brain
what i will do now ?
do you have snaper ver 7 ?
_________________
Regards
yacov -R
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6670

PostPosted: Mon Oct 03, 2011 10:51 am    Post subject: Reply with quote

If it were me and I was using Snapper I'd just write my own version of snapper using the SDK. Creating a snapshot is just a matter of registering the database and calling SaveToDisk(). This will also save you the trouble of this happening again because the release of SDK lags behind the other tools.
Back to top
View user's profile Send private message
yacov



Joined: 29 Jun 2010
Posts: 11

PostPosted: Mon Oct 03, 2011 12:15 pm    Post subject: version of SQL Compare Reply with quote

Hi Brian
when i Do comper with two SNP files with comper.exe command line
I get the good result 'i get the coperison file
now i need work with sdk ,
_________________
Regards
yacov -R
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