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.
5 Responses to AX2012 R3 CU8 – AOT Compile Errors on Payroll Classes related to Symmetry DLL