Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Problem during SQL data dictionary synchronization

Posted on by Microsoft Employee

I'm trying to add t fields to the PurchLine Table but after compile i got the following error:

Cannot execute a data definition language command on  ().
The SQL database has issued an error.
Problems during SQL data dictionary synchronization.
The operation failed.
Synchronize failed on 1 table(s)

This error happened when I was adding fields to the table and disconnect the system from the network.

 

Thanks for your help

  • Suggested answer
    Maxim Gorbunov Profile Picture
    Maxim Gorbunov 456 on at
    RE: Problem during SQL data dictionary synchronization

    If AX is trying to create a table which already exists in the database, most likely that means that your SQLDictionary table is out of sync with the AOT.

    The easiest way to fix it would be to rename PURCHLINE table in the database, then run synchronization and let it create PURCHLINE table again, and then copy data from the renamed PURCHLINE table into the newly created PURCHLINE.

  • Forever Profile Picture
    Forever 110 on at
    RE: Problem during SQL data dictionary synchronization

    hi friends,

    I have same problem face, can you help me how this problem solved?

  • Forever Profile Picture
    Forever 110 on at
    RE: Problem during SQL data dictionary synchronization

    have u solved this problem? let me explain how to solve? same error facing here.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Problem during SQL data dictionary synchronization

    Hi

    I add these flieds directly in AOT, besides just delete these fields from AOT, but I mark error when synchronizing,

    I am checking the Server Application and the event log shome this message:

    Object Server 01: The database reported (session 9 (amar)): [Microsoft][ODBC SQL Server Driver][SQL Server] there is already an object named 'PURCHLINE' in the database.. The SQL statement was: "CREATE TABLE "DBO".PURCHLINE

    thanks by you help

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Problem during SQL data dictionary synchronization

    How were you adding these fields?  Directly in AOT or through xpo?  I would first try recreating the fields in PurchLine and try another synch.  

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Problem during SQL data dictionary synchronization

    You can check Eventlog for more detail info. E.g sql script, tables, etc

    Regards,

    S.C.GAN

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,647 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans