Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

RecVersion int overflow.

Posted on by 1,450

We are experiencing this issue in our production environment today and was wondering if anyone has come across this.

Object Server 01: The database reported (session 279 (<user id>)): [Microsoft][SQL Server Native Client 11.0][SQL Server]Arithmetic overflow error converting IDENTITY 
to data type int.. The SQL statement was: "UPDATE PURCHLINE SET DELIVERYDATE=?,RECVERSION=?,MODIFIEDDATETIME=? WHERE ((RECID=?) AND (RECVERSION=?))"


We've come to the conclusion that the RecVersion field is attempting to exceed the max value of INT. Any suggestions on how to fix this? Our only thought so far is to extend all RecVersion fields to a big int. Thoughts?

*This post is locked for comments

  • Verified answer
    KCDeVoe Profile Picture
    KCDeVoe 1,450 on at
    RE: RecVersion int overflow.

    Update to the solution we came up with. All signs pointed to it being the RecVersion as the problem but it ended up being something else.

    We have FastPath for SQL auditing and the FastPath table AT_ColumnLog has an ID column that is an INT that was getting exceeded. The solution to get production going was to just disable every trigger on every table. This has bought us time to engage with FP to come up with a better solution.

  • KCDeVoe Profile Picture
    KCDeVoe 1,450 on at
    RE: RecVersion int overflow.

    CU11 Kernel. The RecVersions trying to coming in is larger than 2147483647

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,228 Super User 2024 Season 2 on at
    RE: RecVersion int overflow.

    Hi Kevin,

    The RecVersion field is a system field. You cannot change this yourself except from fiddling in the SQL server. What is the exact value AX wanted to use?

    What version of AX (kernel) are you using? Have you tried upgrading the kernel to the latest possible version?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans