<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Sync Team Blog - All Comments</title><link>http://blogs.msdn.com/b/sync/</link><description>Covering SQL Data Sync and Microsoft Sync Framework</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: SQL Data Sync Preview December Service Update Is Now Live!</title><link>http://blogs.msdn.com/b/sync/archive/2012/12/24/sql-data-sync-preview-december-service-update-is-now-live.aspx#10419536</link><pubDate>Fri, 17 May 2013 01:50:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10419536</guid><dc:creator>New Portal still not showing Sync (as at 17May2013)</dc:creator><description>&lt;p&gt;Today I noticed the old portal is no longer working and the new portal is not showing sync. &amp;nbsp;So now I have no way on monitoring my syncs.... I understand this is still preview and love what it is doing for us and think you have done an amazing job. Don&amp;#39;t let the management portals be the reason we don&amp;#39;t use it.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10419536" width="1" height="1"&gt;</description></item><item><title>re: SQL Data Sync Preview December Service Update Is Now Live!</title><link>http://blogs.msdn.com/b/sync/archive/2012/12/24/sql-data-sync-preview-december-service-update-is-now-live.aspx#10415862</link><pubDate>Fri, 03 May 2013 10:54:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10415862</guid><dc:creator>Nicholas Rogoff</dc:creator><description>&lt;p&gt;That&amp;#39;s great and it&amp;#39;s getting better, but please don&amp;#39;t discontinue the Silverlight UI just yet. There are many functions still either not available or not working on the new portal.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t get access to logs, or see the schema that an agent reports etc..&lt;/p&gt;
&lt;p&gt;Also when are you going to let us delete an agent that no longer exists. I can&amp;#39;t imagine why this is such a problem?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10415862" width="1" height="1"&gt;</description></item><item><title>re: Synchronization Services for ADO .NET for Devices: Improving performance by skipping tables that don’t need synchronization</title><link>http://blogs.msdn.com/b/sync/archive/2011/03/02/synchronization-services-for-ado-net-for-devices-improving-performance-by-skipping-tables-that-don-t-need-synchronization.aspx#10410004</link><pubDate>Wed, 10 Apr 2013 14:01:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10410004</guid><dc:creator>Anandhavel </dc:creator><description>&lt;p&gt;Hi Sreedhar,&lt;/p&gt;
&lt;p&gt;Can u provide us a sample application please. It would be really helpful for us.&lt;/p&gt;
&lt;p&gt;Email: anand21cen@gmail.com&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10410004" width="1" height="1"&gt;</description></item><item><title>re: SQL Server to SQL Azure Synchronization using Sync Framework 2.1</title><link>http://blogs.msdn.com/b/sync/archive/2010/08/31/sql-server-to-sql-azure-synchronization-using-sync-framework-2-1.aspx#10406444</link><pubDate>Sat, 30 Mar 2013 04:33:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10406444</guid><dc:creator>JuneT</dc:creator><description>&lt;p&gt;yes, you have to do the PerformPostRestoreFixup before the synching the restored database for the first time. &amp;nbsp;and yes, that&amp;#39;s the code for doing it.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10406444" width="1" height="1"&gt;</description></item><item><title>re: SQL Server to SQL Azure Synchronization using Sync Framework 2.1</title><link>http://blogs.msdn.com/b/sync/archive/2010/08/31/sql-server-to-sql-azure-synchronization-using-sync-framework-2-1.aspx#10405444</link><pubDate>Tue, 26 Mar 2013 15:48:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10405444</guid><dc:creator>Sea Dog Mariner</dc:creator><description>&lt;p&gt;JuneT:&lt;/p&gt;
&lt;p&gt;I guess I&amp;#39;d be looking for the vb equivilant of Liam&amp;#39;s C# code below:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SqlConnection serverConn = new SqlConnection();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;serverConn.ConnectionString = &amp;quot;Data Source=localhost;Trusted_Connection=True;Database=MYDATABASE&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SqlConnection.ClearPool(serverConn);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SqlSyncStoreRestore databaseRestore = new SqlSyncStoreRestore(serverConn);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;databaseRestore.PerformPostRestoreFixup();&lt;/p&gt;
&lt;p&gt;Since you mention a chance of sync ID issues without this procedure, I want to make sure we get it correct.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10405444" width="1" height="1"&gt;</description></item><item><title>re: SQL Server to SQL Azure Synchronization using Sync Framework 2.1</title><link>http://blogs.msdn.com/b/sync/archive/2010/08/31/sql-server-to-sql-azure-synchronization-using-sync-framework-2-1.aspx#10405439</link><pubDate>Tue, 26 Mar 2013 15:33:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10405439</guid><dc:creator>Sea Dog Mariner</dc:creator><description>&lt;p&gt;JuneT:&lt;/p&gt;
&lt;p&gt;Do you have a sample of PerformPostRestoreFixup in vb code? &amp;nbsp;The WF for the attach/detach action is in vb, while the WF for the provision/sync action is in C#.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10405439" width="1" height="1"&gt;</description></item><item><title>re: SQL Server to SQL Azure Synchronization using Sync Framework 2.1</title><link>http://blogs.msdn.com/b/sync/archive/2010/08/31/sql-server-to-sql-azure-synchronization-using-sync-framework-2-1.aspx#10405296</link><pubDate>Tue, 26 Mar 2013 04:04:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10405296</guid><dc:creator>Sea Dog Mariner</dc:creator><description>&lt;p&gt;Still a work in progress. &amp;nbsp;I had used &amp;nbsp;PerformPostRestoreFixup in some previous trials when working on Liam’s blog “How to Synchronize Multiple Geographically Distributed SQL Server Databases using SQL Azure Data Sync”, but since removed it from my code. &amp;nbsp;So I assume that this must be accomplished immediately after db file is attached at RemoteOffice and before it is synced to Azure?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10405296" width="1" height="1"&gt;</description></item><item><title>re: SQL Server to SQL Azure Synchronization using Sync Framework 2.1</title><link>http://blogs.msdn.com/b/sync/archive/2010/08/31/sql-server-to-sql-azure-synchronization-using-sync-framework-2-1.aspx#10404541</link><pubDate>Fri, 22 Mar 2013 12:30:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10404541</guid><dc:creator>JuneT</dc:creator><description>&lt;p&gt;@Sea Dog Mariner,&lt;/p&gt;
&lt;p&gt;are you running PerformPostRestoreFixup on for every copy of the original database that you are re-attaching?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10404541" width="1" height="1"&gt;</description></item><item><title>re: SQL Server to SQL Azure Synchronization using Sync Framework 2.1</title><link>http://blogs.msdn.com/b/sync/archive/2010/08/31/sql-server-to-sql-azure-synchronization-using-sync-framework-2-1.aspx#10404323</link><pubDate>Thu, 21 Mar 2013 19:57:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10404323</guid><dc:creator>Sea Dog Mariner</dc:creator><description>&lt;p&gt;OK- so I answer my own post...&lt;/p&gt;
&lt;p&gt;Further diagnosis and trials lead to a very simple answer. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Only need to provision the first Instance. &amp;nbsp;Then sync. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then detach and copy the applicable .mdf/.ldf files to a new directory. &amp;nbsp;Reattach the first Instance and then attach the copied .mdf file in the new directory to a second Instance. &amp;nbsp;There is no need to provision the second Instance again - it is already provisioned. &amp;nbsp;Just complete a sync. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The first Instance and second Instance will now sync via the SQL Azure db. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can add as many remote site syncs as required using this method.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10404323" width="1" height="1"&gt;</description></item><item><title>re: SQL Server to SQL Azure Synchronization using Sync Framework 2.1</title><link>http://blogs.msdn.com/b/sync/archive/2010/08/31/sql-server-to-sql-azure-synchronization-using-sync-framework-2-1.aspx#10402680</link><pubDate>Fri, 15 Mar 2013 16:44:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10402680</guid><dc:creator>Sea Dog Mariner</dc:creator><description>&lt;p&gt;Thanks JuneT for steering me in the right direction (previous post). Thanks Liam for a detailed article.&lt;/p&gt;
&lt;p&gt;I have successfully followed your article and am using Sync Framework 2.1 as you have outlined to sync between a SQL Server 2012 instance and SQL Azure. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;SQL Server db provisions and syncs fine to SQL Azure db (Azure obviously provisions fine also)&lt;/p&gt;
&lt;p&gt;I want to now add other SQL Instances of the same database name to sync similarily to your article: How to Synchronize Multiple Geographically Distributed SQL Server Databases using SQL Azure Data Sync - Sync Team Blog - Site Home - MSDN Blogs. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I copy the db (before it has been provisioned as per your Sync Framework 2.1 article) and then run the provision/sync code to sync a second remote db, I receive text in console as follows:&lt;/p&gt;
&lt;p&gt;Provisioning SQL Server...&lt;/p&gt;
&lt;p&gt;Done Provisioning SQL Server...&lt;/p&gt;
&lt;p&gt;SQL Azure already provisioned....&lt;/p&gt;
&lt;p&gt;Then when I try to sync the 2nd db SQL Instance, I receive text in console as follows:&lt;/p&gt;
&lt;p&gt;ScopeName=ALLTABLESSYNCGROUP&lt;/p&gt;
&lt;p&gt;Starting Sync 3/14/2013 8:20:10 PM......&lt;/p&gt;
&lt;p&gt;and then nothing. It just seems to lock (or end), with no end result.&lt;/p&gt;
&lt;p&gt;I have also applied your &amp;quot;Changes Applied event fired&amp;quot; code as I was previously timing out (db about 650,000 records). &amp;nbsp;First sync to fresh Azure db takes about 30 minutes. &amp;nbsp;Subsequent syncs takes 15 seconds. &amp;nbsp;I have left the 2nd db trying to sync for several hours, but still no &amp;quot;Changes Applied event fired&amp;quot; notice (and no movement).&lt;/p&gt;
&lt;p&gt;Any further insight on adding additional SQL Server instances to sync scenario as described in: SQL Server to SQL Azure Synchronization using Sync Framework 2.1?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10402680" width="1" height="1"&gt;</description></item></channel></rss>