Wednesday, 22 April 2015

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

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:

SeverityPathLineColError message
Error\Classes\PayrollCalculatePayStatementBenefits\classDeclaration125Syntax error.
Error\Classes\PayrollCalculatePayStatementTaxes\classDeclaration425Syntax error.
Error\Classes\PayrollSetup\refreshWorkerTaxRegionTaxes255Variable Symmetry has not been declared.
Error\Classes\PayrollTaxCalculation\classDeclaration75Syntax error.
Error\Classes\PayrollTaxEngineUtil\checkInTaxEngine737Syntax error.
Error\Classes\PayrollTaxEngineUtil\checkOutTaxEngine715Syntax error.
Error\Classes\PayrollTaxEngineUtil\getGNISLocations405Variable Symmetry has not been declared.
Error\Classes\PayrollTaxEngineUtil\getMunicipalities395Variable Symmetry has not been declared.
Error\Classes\PayrollTaxEngineUtil\getPoliticalSubDivision315Syntax error.
Error\Classes\PayrollTaxEngineUtil\getPoliticalSubDivisionByTaxCode205Syntax error.
Error\Classes\PayrollTaxEngineUtil\getSchoolDistricts415Variable Symmetry has not been declared.
Error\Classes\PayrollTaxEngineUtil\getTaxEngineLocationCodeList385Variable Symmetry has not been declared.
Error\Classes\PayrollTaxEngineUtil\getTaxEngineVersion1039Syntax error.
Error\Classes\PayrollTaxEngineUtil\getTaxTableVersion1038Syntax error.
Error\Classes\PayrollTaxEngineUtil\money2Real1140Syntax error.
Error\Classes\PayrollTaxEngineUtil\real2Hours1122Syntax error.
Error\Classes\PayrollTaxEngineUtil\real2Money1122Syntax error.
Error\Classes\PayrollTaxEngineUtil\real2Rate1122Syntax error.
Error\Classes\PayrollTaxEngineUtil\taxCalculation2TaxCode1162Syntax error.
Error\Classes\PayrollTaxTypeInitialization\classDeclaration85Syntax error.
Error\Data Dictionary\Tables\PayrollEmployerTaxRegion\Methods\retrieveGNIS125Variable Symmetry has not been declared.
Error\Data Dictionary\Tables\PrlTmpGNIS\Methods\populatePrlTmpGNIS135Variable Symmetry has not been declared.

Example Code containing error:

Symmetry.TaxEngine.BenefitInfo benefitInfo401_403;”
“Symmetry.TaxEngine.STEPayrollCalculator             ste;”
“Symmetry.TaxEngine.STEPayrollCalculator             ste;”

Solution:

On AOT\Reference node, add again the library ste-net.dll

You can find on C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin folder.

3 comments: