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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Can not execute data definition language after db sync

(0) ShareShare
ReportReport
Posted on by 3,110

6888.PNG

Hi Experts,

can someone give me exact solution for this. 

best regards,

Shabir 

I have the same question (0)
  • Blue Wang Profile Picture
    on at

    Hi Shabir,

    Could you share event view log?

  • Shabir Ahmad Profile Picture
    3,110 on at

    8867.PNG,

    If you can watch it please.

    Best Regards,

    Shabir Ahmad

    Hi Blue Wang

  • Blue Wang Profile Picture
    on at

    Sorry , I can't see the details.

  • Shabir Ahmad Profile Picture
    3,110 on at

    4444.PNG

    Hi blue wang

    please check 

    best Regards,

    Shabir Ahmad

  • Shabir Ahmad Profile Picture
    3,110 on at

    5555.PNG

    Hi Blue Wang,

    Can you check it and watch it.

    Best Regards,

    Shabir Ahmad

  • Blue Wang Profile Picture
    on at

    Hi Shabir,

    I still can't see the detailed information of the error, you can go to the View menu, check the preview panel, and then the information will be displayed.

    2677.PNG

    Guess, you can see if this is useful: http://blogs.bojensen.eu/2012/06/28/ax-error-cannot-execute-a-data-definition-language-command-on-the-sql-database-has-issued-an-error/

  • Suggested answer
    Andre Ghazaleh Profile Picture
    870 on at

    Hi Shabir,

    From the first picture it seems that the error is happening when syncing the INVENTITEMGROUP table with the database.

    The ITEMGROUPIDX Index is failing to sync, did you accidentally  delete the ITEMGROUPID Field from the table?

    If not try to disable the ITEMGROUPIDX index, sync the INVENTITEMGROUP table , reenable the index and then sync again.

    Regards

  • Andre Ghazaleh Profile Picture
    870 on at

    Hi Shabir,

    Is this issue resolved?

  • Shabir Ahmad Profile Picture
    3,110 on at

    Hi Andre Ghazaleh,

    Yes, This issue was resolved system extended data type size was change from 10 to 20 i again made it 10 its actual size and then i sync db that's worked out my issue.

    Best Regards,

    Shabir Ahmad

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 540 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans