Skip to main content

Posts

Showing posts from April, 2014

Dynamics AX 2012 - Advanced Performance Optimization - Part 1

To maintain the performance of an application with large amount of data is always being a night dream for any organization. However, things can be control with pro-active steps and can easily be managed if something happen other than expectation. This blog entry is mainly focused on some of the (there can never be 100%) points which we can take into our consideration while implementing and customizing Dynamics AX 2012. Dynamics AX AOS settings Index Hints and LTRIM The best practice is to disable index hints allowing SQL Server to decide the most efficient way to process queries instead of forcing it to use a certain set of indexes pre-determined in code. All performance testing for Microsoft Dynamics AX 2012 was done with index hints disabled. If index hints are being used to address specific performance issues, it’s better to address those situations individually rather than globally enabling index hints at the AOS. It is also best practice to disable LTRIM. The

CIL generation: Duplicate type name within an assembly.

Issue Definition: I have been trying to generate a FULL CIL into our working live environment and suddenly it started giving me the following error;                           CIL generation: Duplicate type name within an assembly. Assessments: I did the following steps: 1- Strong recommendation, apply latest kernel build. Download link: Package: ----------------------------------------------------------- KB Article Number (s) : 2957061 Language: All (Global) Platform: i386 Location: ( http://hotfixv4.microsoft.com/Microsoft%20Dynamics%20AX%202012%20R2/nosp/KB2957061/6.2.1000.7176/free/474249_intl_i386_zip.exe ) 2- To improve Compilation speed I did following changes : - For the full compile not catching all the syntax errors, please follow the  X++ code workaround suggestion: Under \Classes\SysCompilerOutput\startCompilation Simply delete or out comment the marked line completely.        -For the CIL compiler performance: -       Make sur