<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xml:base="http://www.red-gate.com/MessageBoard/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Red Gate forums: SQL Comparison SDK 10</title>
 <link>http://www.red-gate.com/MessageBoard/</link>
 <description>Product Support and Discussion</description>
 <language>en</language>
 <copyright>Copyright Red Gate Software Ltd</copyright>
 <managingEditor>internalsupport@red-gate.com</managingEditor>
 <webMaster>internalsupport@red-gate.com</webMaster>
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
 <ttl>60</ttl>
 <lastBuildDate>Tue, 18 Jun 2013 05:20:36 GMT</lastBuildDate>
 <pubDate>Tue, 18 Jun 2013 05:20:36 GMT</pubDate>
 <image>
  <url>http://www.red-gate.com/messageboard/templates/subRed/images/logo_phpBB.gif</url>
  <title>Red Gate forums: SQL Comparison SDK 10</title>
  <link>http://www.red-gate.com/MessageBoard/</link>
 </image>
 <item>
  <title>Failed to compare two elements in the array</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62471#62471</link>
  <description>We recently updated the RedGate Compare SDK dlls, and now our previously working app is throwing an error when we call RedGate.SQLCompare.Engine.Database.LoadFromDisk(&amp;quot;mysnapshot.snp&amp;quot;)
&lt;br /&gt;

&lt;br /&gt;
&amp;quot;Failed to compare two elements in the array&amp;quot;
&lt;br /&gt;

&lt;br /&gt;
The version appears to be 9.5.0.597, even though I got the dlls from &amp;quot;SDK 10&amp;quot; which I downloaded eariler today.
&lt;br /&gt;

&lt;br /&gt;
Stack trace:
&lt;br /&gt;
at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
&lt;br /&gt;
   at System.Collections.Generic.List`1.Sort(Int32 index, Int32 count, IComparer`1 comparer)
&lt;br /&gt;
   at RedGate.SQLCompare.Engine.Indexes.Sort()
&lt;br /&gt;
   at RedGate.SQLCompare.Engine.Indexes.#gjh()
&lt;br /&gt;
   at RedGate.SQLCompare.Engine.Table.PatchUpAfterDeserialization(Database #RHc)
&lt;br /&gt;
   at RedGate.SQLCompare.Engine.Tables.PatchUpAfterDeserialization(Database #RHc)
&lt;br /&gt;
   at RedGate.SQLCompare.Engine.Database.PatchUpAfterDeserialization(Boolean #pXrc)
&lt;br /&gt;
   at RedGate.SQLCompare.Engine.Database.LoadFromStream(Stream #a0, Database #uwL)
&lt;br /&gt;
   at RedGate.SQLCompare.Engine.Database.LoadFromDisk(String #wqk, Database #uwL)
&lt;br /&gt;
   at RedGate.SQLCompare.Engine.Database.LoadFromDisk(String fileName)
&lt;br /&gt;
   at ReleaseUpdate.Synchronizer.SQLSynchronizer(BackgroundWorker worker, DoWorkEventArgs e) in C:\SPIDev\SPITools\PRIME\AutoUpdate\Synchronizer.vb:line 125</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17412</comments>
  <dc:creator>JoshNoe</dc:creator>
  <pubDate>Tue, 11 Jun 2013 22:09:05 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62471#62471</guid>
 </item>
 <item>
  <title>RE: Run out of diskspace in SQL Data compare SDK</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62307#62307</link>
  <description>I got it!,  I restarted my machine, Doh!, it's work now.
&lt;br /&gt;
Thanks Brian.</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17257</comments>
  <dc:creator>Philn</dc:creator>
  <pubDate>Mon, 03 Jun 2013 21:55:32 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62307#62307</guid>
 </item>
 <item>
  <title>RE: Run out of diskspace in SQL Data compare SDK</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62231#62231</link>
  <description>If you're setting it in code you probably want to set it in the process, otherwise you have to restart the process to get the variable read in, which won't do you much good.&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;Environment.SetEnvironmentVariable&amp;#40;&amp;quot;RGTEMP&amp;quot;, &amp;quot;d&amp;#58;\\temp&amp;quot;, EnvironmentVariableTarget.Process&amp;#41;;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17257</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Thu, 30 May 2013 14:58:11 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62231#62231</guid>
 </item>
 <item>
  <title>RE: Generate Comparison Results Report</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62216#62216</link>
  <description>Hey there,
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;I found a line in the SDK help that says it's not supported since its a UI function only. There are some code samples in the wiki that shows a brute force method for emulating it&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;
I'm having trouble finding this. Could you point me in the right direction? 
&lt;br /&gt;

&lt;br /&gt;
We are building an ASP.NET application and need to see a summary of the synchronization changes before we actually synchronize the data.
&lt;br /&gt;

&lt;br /&gt;
Any thoughts?
&lt;br /&gt;

&lt;br /&gt;
Thanks,
&lt;br /&gt;
Stefan</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17160</comments>
  <dc:creator>sralsto</dc:creator>
  <pubDate>Wed, 29 May 2013 19:33:56 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62216#62216</guid>
 </item>
 <item>
  <title>RE: Run out of diskspace in SQL Data compare SDK</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62197#62197</link>
  <description>Hi Brian,
&lt;br /&gt;
thanks for replying. I tried your suggestion, but it seems doesn't do anything - Not sure what I am missing.
&lt;br /&gt;
I put Env variable (RGTEMP) in both user variable and System Variable and the api still doesn't recognize it.</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17257</comments>
  <dc:creator>Philn</dc:creator>
  <pubDate>Tue, 28 May 2013 23:58:08 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62197#62197</guid>
 </item>
 <item>
  <title>RE: Run out of diskspace in SQL Data compare SDK</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62178#62178</link>
  <description>Hi Phil,
&lt;br /&gt;
   It's not a method explicitly in the API but what you can do is set the &amp;quot;RGTEMP&amp;quot; environment variable value to the name of a folder on a different drive with lots of free disk space. In .NET, you can use the System.Environment object and add the RGTEMP variable to your own process. That should do the trick!</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17257</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Tue, 28 May 2013 09:31:59 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62178#62178</guid>
 </item>
 <item>
  <title>Run out of diskspace in SQL Data compare SDK</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62149#62149</link>
  <description>Hi,
&lt;br /&gt;
Is there an option to set in the SQL Data Compare API to place the temp files into a different path instead of the C:\ drive?
&lt;br /&gt;
I am comparing a large databases with many tables and the default temp files are in C drive which I don't have much empty space.
&lt;br /&gt;
Thanks</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17257</comments>
  <dc:creator>Philn</dc:creator>
  <pubDate>Sat, 25 May 2013 00:02:57 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62149#62149</guid>
 </item>
 <item>
  <title>RE: Get List of Dependencies</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62095#62095</link>
  <description>Never mind - found it in Migrations VersionedWork</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17227</comments>
  <dc:creator>sebling</dc:creator>
  <pubDate>Wed, 22 May 2013 17:58:19 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62095#62095</guid>
 </item>
 <item>
  <title>Get List of Dependencies</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62094#62094</link>
  <description>WIKI shows using Work.ProcessDifferences but no such method exists in SDK 10</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17227</comments>
  <dc:creator>sebling</dc:creator>
  <pubDate>Wed, 22 May 2013 17:53:36 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62094#62094</guid>
 </item>
 <item>
  <title>RE: SQL Compare SDK removing users from database</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62061#62061</link>
  <description>The solution to this issue is to loop through the objects in the database, ensure you set all the users .Selected = false then the SQL compare will completely ignore them.</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17192</comments>
  <dc:creator>chris.brown</dc:creator>
  <pubDate>Tue, 21 May 2013 15:08:22 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62061#62061</guid>
 </item>
 <item>
  <title>SQL Compare SDK removing users from database</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62031#62031</link>
  <description>When I compare my database with a database creation script created from a VS 2010 data-tier application project, the users are removed my database.
&lt;br /&gt;

&lt;br /&gt;
In the dta project, I have defined a database role, but there are no users as these are created within the installer in which SQL Compare SDK is implemented. 
&lt;br /&gt;

&lt;br /&gt;
In my code I have set the options IgnoreUsers and IgnoreUserProperties but I can't stop the users being removed.
&lt;br /&gt;

&lt;br /&gt;
Has anyone come across this problem and/or know any solution?
&lt;br /&gt;

&lt;br /&gt;
Thanks.</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17192</comments>
  <dc:creator>chris.brown</dc:creator>
  <pubDate>Mon, 20 May 2013 14:02:37 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62031#62031</guid>
 </item>
 <item>
  <title>Force updates rather than inserts</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62003#62003</link>
  <description>Hi,
&lt;br /&gt;

&lt;br /&gt;
I'm trying to do a comparison every 15 minutes and keep a target database up to date. I have fields whereby I can filter what has been added, and what has been changed in the last 15 minutes.
&lt;br /&gt;

&lt;br /&gt;
Problem is, adding that filter makes it want to &amp;quot;insert&amp;quot; all records that have changed, because they don't appear to be in the target data because they have not changed there. Is there a way to force the generation of SQL to always make update statement not inserts?
&lt;br /&gt;

&lt;br /&gt;
Dino</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17174</comments>
  <dc:creator>dinonz</dc:creator>
  <pubDate>Fri, 17 May 2013 14:33:02 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62003#62003</guid>
 </item>
 <item>
  <title>RE: Generate Comparison Results Report</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61981#61981</link>
  <description>Never mind.  I found a line in the SDK help that says it's not supported since its a UI function only.  
&lt;br /&gt;

&lt;br /&gt;
There are some code samples in the wiki that shows a brute force method for emulating it, I'll just work with that.</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17160</comments>
  <dc:creator>clamk123</dc:creator>
  <pubDate>Thu, 16 May 2013 20:11:03 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61981#61981</guid>
 </item>
 <item>
  <title>Generate Comparison Results Report</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61979#61979</link>
  <description>One of the thngs we do with SQL Compare is generate the &amp;quot;Generate Comparison Results Report&amp;quot; under Tools in the menu.
&lt;br /&gt;

&lt;br /&gt;
What I'd like to do is do this same things through the API, however I'm having difficulty finding where and how to accomplish that via code.
&lt;br /&gt;

&lt;br /&gt;
The result I'm trying to accomplish is to do exactly what would happen through the UI if I compared two databases, went to Tools&amp;gt;Generate Comparison Results Report, and chose to output a file as Format: XML.
&lt;br /&gt;

&lt;br /&gt;
Is this something than can be done, and if so, can you point me to some documentation/code sample/class names to accomplish this?</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17160</comments>
  <dc:creator>clamk123</dc:creator>
  <pubDate>Thu, 16 May 2013 19:28:25 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61979#61979</guid>
 </item>
 <item>
  <title>RE: Compare Database throws NullReferenceException</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=61814#61814</link>
  <description>I can decode the stack frames at my end and the method names do point towards a problem with collations.
&lt;br /&gt;

&lt;br /&gt;
If you don't have any joy, I'll email you a link to our debugging tool and that may help.</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17038</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Wed, 08 May 2013 14:40:01 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=61814#61814</guid>
 </item>
</channel>
</rss>
