For permissions needed by Azure SQL Data Sync, please refer to this forum thread.
Hope it helps.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to sync the Azure SQL database to the on-prem member SQL express and all the necessary configurations (details below) are all configured and setup, but when I select either the Hub database or the on-prem member database, refresh the schema and not tables are showing.
1.) All accounts that I'm using are all local, I'm using Azure local SQL account that I created and the on-prem are local account.
2.) The data sync agent is using a local account and port 1433 is active and enabled.
3.) The sync agent key is correct and the host is reachable.
4.) The firewall is turn off on the on-prem computer running Windows 10 Pro.
5.) A new sync group is created and 2 databases are shown, when I select the tables for both the Hub database or the on-prem member, I clicked on refresh schema - no results are found.
I'm exhausted already from to much troubleshooting and can no longer find any idea, has anyone ran into the same issue and how you identify resolving this situation?
For permissions needed by Azure SQL Data Sync, please refer to this forum thread.
Hope it helps.
Please make sure all tables you would like to sync have a primary key. Usually that is the reason that SQL Data Sync does not load the schema and tables.
Missing clustered indexes on the schemas may also trigger the same issue.
Hi MTBmojave80 •,
Welcome to Microsoft Q&A forum and thanks for using Azure Services.
As I understand, you need to sync Hub database to on-prem SQL express using Data Sync 2.0 agent but no tables are showing for both.
You have also mentioned that all tables have primary key.
Please check if the Snapshot Isolation is enabled for both Sync members and hub. For more info, see Snapshot Isolation in SQL Server.
The following statements activate snapshot isolation and replace the default READ COMMITTED behavior with SNAPSHOT:
ALTER DATABASE MyDatabase
SET ALLOW_SNAPSHOT_ISOLATION ON
ALTER DATABASE MyDatabase
SET READ_COMMITTED_SNAPSHOT ON
Also, please consider below general limitations:
.
), left square bracket ([
), or right square bracket (]
).! " # $ % ' ( ) * + -
or space.dbo.customers
and sales.customers
) only one of the tables can be added into sync.Foo
and foo
), Data Sync won't support this scenario.Please check and let us know if this helps in your case.
Awaiting your inputs. Thank you.