Tag Archives: installation

DIXF – Errors after upgrading to CU7

After upgrading to CU7, DIXF does not work anymore and it gives a bunch of errors like below

“Cannot create a record in XML to entity mapping for a definition group (DMFSourceXMLToEntityMap). Processing group: Vendor, Vendor. The record already exists.”


“Cannot create a record in XML to entity mapping for a definition group (DMFTargetXML). Processing group: Vendor, Vendor. The record already exists.”


“Cannot create a record in Staging log (DMFStagingLog). Stage: Source.
The record already exists.”


The code that creates the standard entities was trying to create with an existing recid violating the index.  By deleting the data out of these tables will solve this type of problem


1 Comment

Posted by on March 13, 2014 in Installation and Configuration


Tags: , , , , ,

Dynamics AX BI Cubes

For those who are learning about AX Cubes, these tutorials are doing very good job to help you up to speed and give you an idea what it is about and how to configure, update, view, create and modify cubes from AX.

How to configure cubes

How to update default cube definitions

How to view cube data in Microsoft Office Excel

How to create a cube

How to modify default cubes


Tags: , , , , , , ,

A CLR error occurred while invoking the scheduling engine

I came across this issue recently


The issue in this was caused by the AOS Server configuration option “Enable the hot-swapping of assemblies for each development session” being enabled on the server.

In our development environment, we enable the hot-swap feature of the Application Object Server (AOS) to use updated assembly DLL files without having to repeatedly stop and restart the AOS. Restarting the AOS terminates the connections from other developer clients, which can be an inconvenience.

This option should NOT be activated on production environments. Disabling the option resolved the issue



Tags: , , , , ,

How to find out all the AX KBs installed on your machine

A client asked me today how to find out all the KBs  were applied to one of its environments. Normally I would say go to “About Microsoft Dynamics AX” then “Show installed models”. However, in some cases not all KBs are shown in this form.

Here is another fine way you can find out :

Control Panel > Programs and Features > View installed updates



To find out more about version numbers and published patches, please use the link below. Microsoft team keeps constantly updated build numbers.

Microsoft Dynamics AX build numbers
1 Comment

Posted by on February 12, 2014 in Installation and Configuration


Tags: , , , , , , , ,

Check Installed Models Script

I’m working in an environment with 3 different AOSs. I have to maintain many models and hotfixes. Therefore, I need to find a clever way to determine whether or not a specific hotfix was installed on an environment


Use the attached script,  and then execute it in AX Management Shell and follow the prompts.


$found = $false
$server = read-host "Enter the database server that hosts your modelstore database (Default is localhost)"
if ($server -eq ''){ $server='localhost'}

$db = read-host "Enter the name of your AX model store database (Default is MicrosoftDynamicsAx)"
if ($db -eq ''){$db = 'MicrosoftDynamicsAx'}

$kb = read-host "Which KB are you attempting to install?"

while ($kb -eq '')
   $kb = read-host "You must enter a Kb to search for, try again (enter a KB now)" 

$models = Get-AxModel -server $server -database $db

foreach ($model in $models)
    $manifest = Get-AXModelManifest -Server $server -Database $db -model $model.Name 
    $details = $manifest.Details
    if (Select-String -Pattern $kb -InputObject $details)
        $found = $true

if (!$found)
    "KB " + $kb + " was not found in any installed model"
Leave a comment

Posted by on February 11, 2014 in Installation and Configuration


Tags: , , , , ,

Drain users from an AOS

During data migration or code upgrade, I really need a nice way to alert users that I need to bounce server off without interrupting their works. Traditionally,  I will send an email to notify all users,  and then go to service and shut it down.

There is another trick to drain user from AOS

1. Click System administration > Common > Users > Online users.

2. On the Server instances tab, select the AOS instance that you want to perform maintenance on.

3. Click Reject new clients.

4. When you are prompted, click OK to stop the AOS instance from accepting new client connections.





5. After you have finished performing maintenance on the server, click Accept new clients or restart the AOS instance.

1 Comment

Posted by on February 1, 2014 in Installation and Configuration


Tags: , , , , ,


AX R3 – Retail – CTP4 Web Cast – Installation

Dynamics for Retail is a set of functionalities aimed at supporting point-of-sale (POS), supply chain, channel management, merchandising and other sales-oriented tasks.

The updated Dynamics for Retail will include improvements to call center functions, transportation and delivery capabilities, and POS functions, according to Microsoft’s announcement. It will arrive in April, to coincide with the release of Dynamics AX 2012 R3.


Posted by on January 14, 2014 in Development


Tags: , , , , , ,

%d bloggers like this: