Today We were migrating existing production environment to new production environment hardware.
So I have done fresh instillation of dynamics ax 2012 R CU8 on new machine.I have imported model store and restored Microsoft Dynamics AX(OLTP)database without any error.
when i initiated compilation on machine then got around 22 errors in ax standard classes like variable not declared or syntax error in payroll classes.
There are many blog written to resolve this symmetry error.Most of them suggested to add ste.net.dll file from server and client bin folders in AOT ->References node
C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin
C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin
Variable Symmetry has not been declared Compilation error in Ax 2012
AX2012 R3 CU8 – AOT Compile Errors on Payroll Classes related to Symmetry DLL
but it didn’t work for me and many more. I identified one more simple solution because i faced similar issue in AX 2009 related to missing of system Base Enum.
I uninstalled AX client and did installation again and restarted the AX services.when i tried compilation again then there was no syntax error left.
Happy Daxing 🙂