AX2012 R3 CU8 – AOT Compile Errors on Payroll Classes related to Symmetry DLL

Symptom:

In Microsoft Dynamics AX 2012 R3 CU8, we found 22 errors after running a full compile on the AOT, all related to the Summetry Namespace. After researching the web, and trying all of the solutions offered on other websites, we were still getting exactly the same compile errors.

You can read more about what we have tried on these websites:
https://community.dynamics.com/ax/f/33/t/126055.aspx
https://community.dynamics.com/ax/f/33/t/150222.aspx

 

Event Log:

The error we received in the event log was:

“The description for Event ID 110 from source Microsoft Dynamics AX cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Microsoft Dynamics AX Business Connector Session 7.
Failed loading assembly ste-net, Version=1.0.1.74, Culture=neutral, PublicKeyToken=5542884f620dbde5”

Compiler output:

Severity Path Line Col Error message
Error \Classes\PayrollCalculatePayStatementBenefits\classDeclaration 12 5 Syntax error.
Error \Classes\PayrollCalculatePayStatementTaxes\classDeclaration 42 5 Syntax error.
Error \Classes\PayrollSetup\refreshWorkerTaxRegionTaxes 25 5 Variable Symmetry has not been declared.
Error \Classes\PayrollTaxCalculation\classDeclaration 7 5 Syntax error.
Error \Classes\PayrollTaxEngineUtil\checkInTaxEngine 7 37 Syntax error.
Error \Classes\PayrollTaxEngineUtil\checkOutTaxEngine 7 15 Syntax error.
Error \Classes\PayrollTaxEngineUtil\getGNISLocations 40 5 Variable Symmetry has not been declared.
Error \Classes\PayrollTaxEngineUtil\getMunicipalities 39 5 Variable Symmetry has not been declared.
Error \Classes\PayrollTaxEngineUtil\getPoliticalSubDivision 31 5 Syntax error.
Error \Classes\PayrollTaxEngineUtil\getPoliticalSubDivisionByTaxCode 20 5 Syntax error.
Error \Classes\PayrollTaxEngineUtil\getSchoolDistricts 41 5 Variable Symmetry has not been declared.
Error \Classes\PayrollTaxEngineUtil\getTaxEngineLocationCodeList 38 5 Variable Symmetry has not been declared.
Error \Classes\PayrollTaxEngineUtil\getTaxEngineVersion 10 39 Syntax error.
Error \Classes\PayrollTaxEngineUtil\getTaxTableVersion 10 38 Syntax error.
Error \Classes\PayrollTaxEngineUtil\money2Real 11 40 Syntax error.
Error \Classes\PayrollTaxEngineUtil\real2Hours 11 22 Syntax error.
Error \Classes\PayrollTaxEngineUtil\real2Money 11 22 Syntax error.
Error \Classes\PayrollTaxEngineUtil\real2Rate 11 22 Syntax error.
Error \Classes\PayrollTaxEngineUtil\taxCalculation2TaxCode 11 62 Syntax error.
Error \Classes\PayrollTaxTypeInitialization\classDeclaration 8 5 Syntax error.
Error \Data Dictionary\Tables\PayrollEmployerTaxRegion\Methods\retrieveGNIS 12 5 Variable Symmetry has not been declared.
Error \Data Dictionary\Tables\PrlTmpGNIS\Methods\populatePrlTmpGNIS 13 5 Variable Symmetry has not been declared.

Example Code containing error:

Symmetry.TaxEngine.BenefitInfo benefitInfo401_403;”

“Symmetry.TaxEngine.STEPayrollCalculator             ste;”

“Symmetry.TaxEngine.STEPayrollCalculator             ste;”

 

Solution:

Finally we took the DLLs from an environment that worked and copied them to our environment. The Dlls were different, and in size and date.  this solved the problem.

By reinstalling the binaries again from AX2012 R3 CU8 installation file also solved the problem.

 

About Johan Groenewald

I'm a Microsoft Dynamics AX Developer, working at Axnosis in Pretoria, South Africa, with over 15 years experience as a software developer and working for the past 5 years on Dynamics AX 2009 and 2012.
This entry was posted in Microsoft Dynamics AX 2012. Bookmark the permalink.

4 Responses to AX2012 R3 CU8 – AOT Compile Errors on Payroll Classes related to Symmetry DLL

  1. sathish says:

    Hi,

    I tried the above solution you gave,but still error is coming..

  2. Bettina Gregersen says:

    Lately I have installed AX 2012 R3 CU10 og AX 2012 R3 CU8 a couple of times, and I have dealt with this problem at every intallation.
    The CIL compilation end up with warnings about Symmetry…..

    The solution is in this link https://daxbeginners.files.wordpress.com/2015/08/image3.png
    But a new installation includes the right version, and the reference is ok, so it is just this part that you need.

    Stop the AOS
    Go to C:\Program Files\Microsoft Dynamics AX\60\Server\instance_name\bin and empty the folder XppIL
    Start the AOS.
    Start a complete CIL compilation

Leave a Reply

Your email address will not be published. Required fields are marked *