Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Problem during SQL data dictionary synchronization

(0) ShareShare
ReportReport
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

*This post is locked for comments

  • 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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans