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 :
Microsoft Dynamics AX (Archived)

DB Sync error after installation of CU9 on fresh AX 2012 R3

(0) ShareShare
ReportReport
Posted on by 1,215

Hi,

I updated a fresh Ax 2012 R3 with CU9. Prior to that Ax had no customization, no data. During the software upgrade checklist, I successfully completed the mentioned steps until I hit DB Synchronization. DB Sync is producing the following error:

Error Synchronize database Cannot execute the required database operation. The SQL database has issued an error. Info Synchronize database SQL error description: [Microsoft][SQL Server Native Client 11.0][SQL Server]Implicit conversion from data type datetime to numeric is not allowed. Use the CONVERT function to run this query. Info Synchronize database SQL statement: INSERT INTO X5489X SELECT QUESTIONNAIREID,SERVICELEVELAGREEMENTID,ANSWERID,PROJID,STAGEID,SERVICELEVELAGREEMENTSTATUS,COMPLIANCE,SLALATESTCOMPLETIONDATETIME,SLALATESTCOMPLETIONDATETIMETZID,CASEID,STATUS,DESCRIPTION,PRIORITY,MEMO,CLOSEDBY,CATEGORYRECID,CLOSEDDATETIME,CLOSEDDATETIMETZID,CONTACTPERSONID,PARTY,INSTANCERELATIONTYPE,PROCESS,EMAILID,OWNERWORKER,RESOLUTION,DEPARTMENT,PLANNEDEFFECTIVEDATE,APPROVEDHOURS,ESTIMATEDLEAVEENDDATE,FMLAHOURSAVAILABLE,HOURSWORKEDPAYROLLINTEGRATION,LEAVEREASON,LENGTHOFSERVICE,MILITARYFMLAHOURSAVAILABLE,APPROVED,{fn SUBSTRING(APPROVEDBY,1,8)},HOURSWORKED,LEAVEREQUESTDATE,LEAVESCHEDULE,LEAVESTARTDATE,MODIFIEDDATETIME,MODIFIEDBY,MODIFIEDTRANSACTIONID,CREATEDDATETIME,CREATEDBY,DATAAREAID,RECVERSION,RELATIONTYPE,PARTITION,RECID FROM CASEDETAILBASE Error Synchronize database Problems during SQL data dictionary synchronization. The operation failed. Info Synchronize database Synchronize failed on 1 table(s)

What could possibly be causing this error? When I checked for table X5489X in SQL, I could not find it.

Thank you for going through the post.

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,917 Super User 2025 Season 2 on at

    Hi Abhinay,

    The table X5489X might be a temporary table in the TembDB. I wonder about your steps before you updated to CU9. What I understand is that you had initially installed AX2012R3. Did you then opened AX and completed the setup checklist completely? Or did you directly proceed with installing CU9?

  • Abhinay Tharwal Profile Picture
    1,215 on at

    Hi André,

    I installed Ax 2012 R3, completed the initial checklist, then installed CU9.

    I get the aforementioned error when I am going through software upgrade checklist.

    Thanks,

    Abhinay

  • André Arnaud de Calavon Profile Picture
    300,917 Super User 2025 Season 2 on at

    Hi Abhinay,

    The synchronization went well in R3 without CU9? Did you also try to do a clean install with slipstreaming CU9?

  • Abhinay Tharwal Profile Picture
    1,215 on at

    Yes, sync without CU9 was successful.

  • Suggested answer
    Tommy Skaue Profile Picture
    Moderator on at

    Can you try run the following powershell to reveal if there are any non Microsoft models:

    Get-AxModel | where {$_.name -notmatch 'kb'} | Out-GridView

    If you run this on the AOS-server and have only 1 AOS installed, you should be fine. If you need to, add the parameters for SQL Server Instance and Model database for the Get-AxModel to find the correct modelstore.

    You should get a list of all models, except the ones with "kb" in their name. This will exclude hotfixes, which is like several thousand models.

    If you find models in isv, var, cus and/or usr, you may want to consider removing them. You've already stated this is a "fresh environment", and I assume you mean it has *no customizations*.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans