web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Problem during SQL data dictionary synchronization

(0) ShareShare
ReportReport
Posted on by

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

  • Verified answer
    Community Member Profile Picture
    on at

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

    Regards,

    S.C.GAN

  • Verified answer
    Community Member Profile Picture
    on at

    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.  

  • Suggested answer
    Community Member Profile Picture
    on at

    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

  • Forever Profile Picture
    110 on at

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

  • Forever Profile Picture
    110 on at

    hi friends,

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

  • Suggested answer
    Maxim Gorbunov Profile Picture
    456 on at

    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.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans