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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Can not execute data definition language after db sync

(0) ShareShare
ReportReport
Posted on by 3,124

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
    Microsoft Employee on at

    Hi Shabir,

    Could you share event view log?

  • Shabir Ahmad Profile Picture
    3,124 on at

    8867.PNG,

    If you can watch it please.

    Best Regards,

    Shabir Ahmad

    Hi Blue Wang

  • Blue Wang Profile Picture
    Microsoft Employee on at

    Sorry , I can't see the details.

  • Shabir Ahmad Profile Picture
    3,124 on at

    4444.PNG

    Hi blue wang

    please check 

    best Regards,

    Shabir Ahmad

  • Shabir Ahmad Profile Picture
    3,124 on at

    5555.PNG

    Hi Blue Wang,

    Can you check it and watch it.

    Best Regards,

    Shabir Ahmad

  • Blue Wang Profile Picture
    Microsoft Employee 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,124 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 495 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 315 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans