Dynamics AX Development

A blog offering various X++ code snippets and tips for Microsoft Dynamics AX

Wednesday, November 20, 2013

Problem encountered in "Integration Solution for Microsoft Dynamics AX projects and Microsoft Dynamics CRM"

Hi Folks, Some of you might be trying out the new Integration Solution for "Microsoft Dynamics AX projects and Microsoft Dynamics CRM" which can be downloaded from this Partnersource link When following the step-by-step guide you might encounter the following issue: When you try to run "ConnectorMapInstallerForSI.exe", as instructed my Microsoft documentation, the exe fails to load. When I encountered this problem I chose to debug it in VS I got the following exception: “Unhandled exception: System.IO.FileLoadException: Could not load file or assembly ‘ConnectorMapInstallerForSI, version=, culture=neutral, publickeytoken= 'or one of its dependencies. Strong name validation failed.” Obviously I could not view the source code of the exe. To resolve the above issue I open the VS developer command prompt (luckily I had VS installed :)) and ran the following command: sn -Vr * (Note: the V should be capitalised or else this won't work) After that the .exe loaded correctly. I hope this helps people out there who encounter these problems. References: http://blogs.msdn.com/b/securitytools/archive/2009/12/30/how-to-turn-off-strong-name-validation.aspx If you any questions or comments e-mail me on: mirkobonello@live.com

Dynamics Connector Error when configuring CRM adapter for CRM 2013

Hi Folks, I am testing the Dynamics Connector between Dynamics AX 2012 and Dynamics CRM 2013. I downloaded and installed the last version of the Dynamics Connector for AX. For this you must use the CRM 2011 adapter but if, during the adapter configuration wizard in the step "Setting product decimal decision", you get the following error: "The attribute of type:Image introduced in version is not available for this client version" then you should solve this issue by replacing the Microsoft.Xrm.Sdk.dll file from the CRM SDK 2013 bin folder to the following folder: \Program Files (x86)\Microsoft Dynamics\Microsoft Dynamics Adapter\Adapters\Microsoft.Dynamics.Integration.Adapters.Crm2011 This will get you past this error message. Note: According to MS this should be solved in the latest version of the Dynamics Connector (v3.1) but I still encountered this issue even if I downloaded the Connector just yesterday (19th November 2013). If you any questions or comments e-mail me on: mirkobonello@live.com

Friday, April 09, 2010

Passed EP 2009 Exam

Successfully passed the Microsoft Dynamics AX 2009 Enterprise Portal Exam - MB6-825

Tuesday, March 30, 2010

Another pass

Passed the 2nd AX 2009 Exam - Morphx Solutions Development.

Now preparing for the AX 2009 Enterprise Portal exam and hopefully another screencast.


Sunday, March 28, 2010

My first Screencast is online - Dynamics AX 2009 Cues

I have just created my first webcast and uploaded it to youtube. It is about cues functionality in Microsoft Dynamics AX 2009.

Hope you find it interesting!

Looking forward to do more !

Friday, March 26, 2010

New AX 6.0 Code Editor based on WPF

View a screenshot here

If you any questions or comments e-mail me on: mirkobon@gmail.com

AXSpace Invaders

Dynamics AX 2009 now has it's own Space Invaders Game found at Trucos Ax.

Download it from:



If you any questions or comments e-mail me on: mirkobon@gmail.com

Friday, April 24, 2009

Dynamics AX now on Microsoft Surface

In the following link you can see a video about Dynamics AX warehouse command centre on Microsoft Surface:

Click Here


If you any questions or comments e-mail me on: mirko@mirkobonello.com

Thursday, April 09, 2009

AX 2009 Workflow

Today I started exploring AX 2009 Workflow by following the Appendix A of the Development I in the Microsoft Official Training Manuals.

The version of my manual had some missing steps, these mainly being:

a missing (but important) code snippet for creating the main() method for the 'Submit to Workflow Class' which I then found on MSDN here (scroll down until you find it);

failure to make you create a subject; and

it assumes that AX 2009 SP1 already has a 'Workflow Configuration' Menu Item for the Projects Module but I had to create it manually (in the process I discovered that the Bug in AX 2009 RTM, which only scans the sys layer for new work flow items, is now solved in SP1).

If you any questions or comments e-mail me on: mirko@mirkobonello.com

Tuesday, April 07, 2009

Very nice quote

"You see, developing software is a process. The consumer will typically see the end product as if it magically popped out of thin air. But it didn't magically appear. There were meetings, specs, coding sessions, coffee, code reviews, debugging sessions, coffee, testing, explanations, eureka moments, coffee, and so on ..."

Inspired from the book "Inside Microsoft® Exchange Server 2007 Web Services" by David Sterling; Ben Spain; Michael Mainer; Mark Taylor; Huw Upshall.

Thanks for this nice quote :)

If you any questions or comments e-mail me on: mirko@mirkobonello.com