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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

RecVersion int overflow.

(0) ShareShare
ReportReport
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

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    305,751 Super User 2026 Season 1 on at

    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?

  • KCDeVoe Profile Picture
    1,450 on at

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

  • Verified answer
    KCDeVoe Profile Picture
    1,450 on at

    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.

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
Nagendra Varma K Profile Picture

Nagendra Varma K 4

#2
Harisgillani Profile Picture

Harisgillani 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans