AX2012 R3 Some errors in upgrading CU8

Source: Internet
Author: User
Tags stack trace microsoft dynamics

AX2012 R3 After installing the upgrade package CU8, you will be prompted to open the Software Upgrade checklist Software update checklist, which lists the series of actions to be made by the upgrade.

    • There are many errors in "Compile application" when it comes to compiling the application:
Severity Path Line Col Error message
Error \classes\payrollcalculatepaystatementbenefits\classdeclaration 12 5 Syntax error.
Error \classes\payrollcalculatepaystatementtaxes\classdeclaration 42 5 Syntax error.
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\getpoliticalsubdivision 31 5 Syntax error.
Error \classes\payrolltaxengineutil\getpoliticalsubdivisionbytaxcode 20 5 Syntax error.
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 \classes\whsworktableform\sourcebutton_clicked 36 93 The table Whsworklinecyclecount does not contain the method whsworktable.
Error \classes\payrollsetup\refreshworkertaxregiontaxes 25 5 Variable symmetry have not been declared.
Error \classes\payrolltaxengineutil\getgnislocations 40 5 Variable symmetry have not been declared.
Error \classes\payrolltaxengineutil\getmunicipalities 39 5 Variable symmetry have not been declared.
Error \classes\payrolltaxengineutil\getschooldistricts 41 5 Variable symmetry have not been declared.
Error \classes\payrolltaxengineutil\gettaxenginelocationcodelist 38 5 Variable symmetry have not been declared.
Error \data Dictionary\tables\payrollemployertaxregion\methods\retrievegnis 12 5 Variable symmetry have not been declared.
Error \data Dictionary\tables\prltmpgnis\methods\populateprltmpgnis 13 5 Variable symmetry have not been declared.

View the first error \classes\payrollcalculatepaystatementbenefits\classdeclaration, into the code discovery "Symmetry.TaxEngine.BenefitInfo benefitinfo401_403;" A line of Symmetry.TaxEngine.BenefitInfo is not defined and should be a. NET app that is not registered correctly. In the ax community https://community.dynamics.com/ax/f/33/t/126055.aspx was found because Ste-net.dll did not successfully refer to the directory C:\Program Files (x86) \ Microsoft Dynamics Ax\60\client\bin found Ste-net.dll and re-added to Aot/references.

Recompile, the error is only left "the table Whsworklinecyclecount does not contain the method whsworktable". Also find the answer in the AX community, https://community.dynamics.com/ax/f/33/t/137853.aspx, table Whsworklinecyclecount The relationship to the table whsworktable Createnavigationpropertymethods is not set to Yes, In fact, this relation in the system has no createnavigationpropertymethods attribute at all, the solution is to apply hotfix KB3001197 (https://mbs2.microsoft.com/ Knowledgebase/kbdisplay.aspx? Wtntzsmnwukntmmynlowuupryqywxnmqvmlwyxrmmrsvysuz).

Recompile again with the error "Stack Trace:an empty SQL statement Descriptor list has been encountered.", according to Microsoft TechNet (http:// technet.microsoft.com/en-us/library/jj161010.aspx) is the argument that some configuration keys are turned off, and all keys are enabled in the Config key configuration. Synchronize the database tables and recompile the application successfully.

    • Error "The CIL generator found errors and could not save the new assembly" in the compile into. NET Framework CIL Following the Upgrade checklist, stop the AOS service, Remove all files under directory C:\Program Files\Microsoft Dynamics Ax\60\server\microsoftdynamicsax\bin\xppil, restart the AOS, and then do a full CIL compilation success.
    • Error "Failed to create a session in Synchronize database" Confirm that the user have the proper privileges to log in to Microsoft Dynamics, the data in my system is imported from R3 demo data, and the current Admin user is in demo sub- Area of the PS and ext partition in the middle of the record, referring to the "http://domhk.blogspot.com/2014/10/ax2012-r3-demo-data-failed-to-create.html" resolution, specifically the new 2 temporary users , and then update these 2 user records directly in the database to the Admin user in PS and ext records.

After you successfully install CU8 ax 1000.473, the kernel version for 6.3.164.3198,application version is 6.3. R3.

AX2012 R3 Some errors in upgrading CU8

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.