web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

New Install AX 2012 R3 CU9 (Slipstream) - Compile Difficulty

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have a brand new install of AX 2012 R3 CU9 that I setup this week, but I have not been able to successfully run the 'Compile into .net framework CIL" "CIL Generation: Index was out of range. Must be non negative and less than the size of the collection"   I get errors in the class 'PayrollTaxTypeInitialization'  and  PayrollCalculatePayStatementTax.

Any suggestions or tips on how to troubleshoot these errors?

*This post is locked for comments

I have the same question (0)
  • Guy Terry Profile Picture
    28,924 Moderator on at

    Can you run a full compile without getting any errors?

  • Josh Fraser Profile Picture
    on at

    The AX Compile log has some errors.  

    Severity Path Line Col Error message

    Error \Classes\BIAnalysisServicesProjectController\classDeclaration 25 47 Syntax error.

    Error \Classes\BIGenerator\classDeclaration 24 47 Syntax error.

    Error \Classes\DMFBIConfigurationEntityClass\classDeclaration 9 47 Syntax error.

    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 \Classes\ReqADOMDClient\classDeclaration 6 47 Syntax error.

    Error \Classes\ReqDemPlanSSASHelper\classDeclaration 6 47 Syntax error.

    Error \Classes\ReqDemPlanStatisticalSSASForecast\addAlgorithmParameterIfNotExist 14 47 Syntax error.

    Error \Classes\ReqDemPlanStatisticalSSASForecast\createAndProcessMiningStructure 22 47 Syntax error.

    Error \Classes\ReqDemPlanStatisticalSSASForecast\createMiningModel 19 47 Syntax error.

    Error \Classes\ReqDemPlanStatisticalSSASForecast\createMiningModelsPerAllocationKey 19 47 Syntax error.

    Error \Classes\ReqDemPlanStatisticalSSASForecast\createMiningStructure 23 47 Syntax error.

    Error \Classes\ReqDemPlanStatisticalSSASForecast\setAlgorithmParameters 14 47 Syntax error.

    Error \Classes\SysStartupCmdGenerateSsasProject\buildProject 15 47 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.

    Error \Forms\BIAnalysisServicesWizard\Methods\classDeclaration 14 47 Syntax error.

    Error \Forms\BIOlapAdministration\Designs\DesignList\IsDefaultCheckBox 1 1 Unknown source for data method editIsDefault. The method does not exist in the data source or table.

    Error \Forms\BIOlapAdministration\Designs\DesignList\IsDefaultDatabaseCheckbox 1 1 Unknown source for data method editIsDefaultDatabase. The method does not exist in the data source or table.

    Error \Forms\BIOlapAdministration\Designs\DesignList\StringEditPartitionKey 1 1 Unknown source for data method editPartitionKey. The method does not exist in the data source or table.

    Error \Forms\BIOlapAdministration\Methods\classDeclaration 14 47 Syntax error.

  • Suggested answer
    Josh Fraser Profile Picture
    on at

    Just a quick follow up to this.  I had to do two things

    1. Add a new reference to the ste-net.dll from the client directory in the AOT

    2. Install SQL AMO objects on the AOS server (where I was running the compile from)

    AXBuild now completes without error.

  • pearl_jo Profile Picture
    640 on at

    Dear Josh,

    I have the same issue with you. Where should I download the SQL AMO objects?

    Please help. Thank you.

  • Josh Fraser Profile Picture
    on at

    You can download them from Microsoft. Depending on the version of SQL you are using it's in the SQL Feature Pack. 

  • pearl_jo Profile Picture
    640 on at

    Oh I see.. I will try it.. Thanks a lot..

  • Community Member Profile Picture
    on at

    I had the same issue, I also tried some of the suggestions above regarding the ste dll, but I had no luck, the fix for me in the end was to start the install again without using the slipstream method, I installed AX 2012 R3 without any updates and it compiled and synchronized without issue.

    I then followed the Cumulative Update 9 Installation guide http://go.microsoft.com/fwlink/?LinkId=613553
    and used the Update Installer, The installer downloaded CU9 and allowed me to review components to install, scrolling down in the selection of the components, one of the updates was US Payroll, I deselected these as they are not required for my install, and also gave me the most compile errors before.  The installation continued and the updates applied successfully.

  • Suggested answer
    San Artham Profile Picture
    3,175 on at

    I had the same issue and here is the way I fixed it:

    - SQL AMO is one the pre-req for AX 2012 client

    - Run the Pre-req validation tool for Client and you would receive this error:

     

    - Download the SQL AMO from the link and install

    - Recompile should go clean this time.

    Santosh.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans