Ax 2012 Synchronize Database Errors

This question is not answered

Attempting to synchronize the database in a AX 2102 install the following errors happen:

  • There is a field mismatch in the union query. Field CarrierName is not compatible with field Name.
  • Cannot execute a data definition language command on The information about transportation parties (TransportationAllParty). The view cannot be created. The underlying table may not exist.
  • Problems during SQL data dictionary synchronization. The operation failed.

I am hoping somebody in the AX community can explain how these arrors can be corrected.

 

All Replies
  • Hi,

    Can you see the SQL statement that is being used to create the view from the error message?

    My blog | PBC

    This posting is provided "AS IS" with no warranties, and confers no rights.

  • The system table SQLDictionary has a list of the tables and fields with id's. It could sound like a mismatch between the id's in the table and the id's shown when looking at the properties on the field in the AOT. It can be a massive task getting that fixed if they pile up.

    I have earlier managed to fix errors like this by simply flipping the table to In-memory in type, synchronize the table and then flip it back.

    Note, that this will truncate the table so you might want to copy the data to another database first and then back afterwards.

    Maybe you want to try this on a copy of the database first. :)