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

Error on opening 'Consistency check' form

(0) ShareShare
ReportReport
Posted on by 1,420

Hi,

I've recently done the AX upgrade from 2009 to AX 2012. After completing Upgrade, when i try to run Consistency Check form from Sys admin>Periodic>database, im getting below error.

 

Error executing code: Wrong argument types in variable assignment.

Stack trace

(S)\Classes\SysConsistencyCheckJob\unpackClasses - line 42

(S)\Classes\SysConsistencyCheckJob\unpack - line 43

(S)\Classes\xSysLastValue\getLast - line 29

(S)\Classes\RunBase\getLast - line 16

(S)\Classes\RunBaseBatch\getLast - line 12

(S)\Classes\RunBase\promptPrim - line 8

(S)\Classes\RunBase\prompt - line 12

(S)\Classes\RunBaseBatch\prompt - line 30

(S)\Classes\SysConsistencyCheckJob\main - line 8

 

I've done full application compile, CIL compile, Databae sync with no errors. But still getting this error.

Could anybody have any idea on this?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Denis Patrakov Profile Picture
    on at

    According to the call stack the error is caused by old (and now incompatible) data in SysLastValue. You should delete the data before opening Consistency Check form. Service/Parameters/Data usage/All data, find records related to SysConsistencyCheckJob and delete them.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans