Hi,
We are currently having a synchronization issue on our Dynamics 4.0 application where we recently setup replication on the database level. It is a simple transactional replication to a read-only database for reporting.
However, when we are now synchronizing the application with the database, we getting the below error message. After some investigation, we found out that Dynamics wants to drop and recreate some tables where modifications in the data structure took place, as well as some views. Since these tables are now part of a replicated database, it is not possible to drop them unless they are removed as replicated articles on the database level.
We would like to know how we can force Dynamics not to drop objects but instead pass the ‘Alter Statement’ to the database which is acceptable in a replicated environment.
Attached is a whitepaper from Microsoft dated 2007, whereby it states dynamics 4.0 is supported for transactional replication.
Error Synchronize Cannot execute a data definition language command on ().
The SQL database has issued an error.
Error Synchronize Cannot execute a data definition language command on ().
The SQL database has issued an error.
Error Synchronize Cannot execute a data definition language command on ().
The SQL database has issued an error.
Error Synchronize Cannot execute a data definition language command on ().
The SQL database has issued an error.
Error Synchronize Problems during SQL data dictionary synchronization.
The operation failed.
Info Synchronize Synchronize failed on 4 table(s)
Application: Dynamics 4.0 SP1
Database: SQL Server 2005 EE SP3 x64-bit
Setup: Transactional Replication to a standy-by database
Whitepaper:
High AVAILABILITY (HA) Options for Dynamics AX
Date: November 17, 2007