Friday, 12 December 2014

Debugger not installed

I was writing some automation scripts and as part of the automation I was supposed to specify AX client log folder path in the cleanup task but by mistake I gave client bin folder path. This resulted in everything being wiped from that folder and clicking on the AX client shortcut gave an error. I was able to recover from this by running the repair on the AX client in "Control Panel\Program and Features".

All was fine until I hit a breakpoint and a message popped up saying "debugger is not installed. Please install the debugger". But I had the debugger installed. The repair on the client fixed the client related files but not the debugger. So I ran the installer again and there the debugger option was already ticked so the installer did not let me proceed.

The solution was simple. Just copy the AXdebug.exe from the following location in the installer folder to the client bin folder and everything this was fine (for 64-bit machine).

..\Msi\Components64\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin

This posting is provided "AS IS" with no warranties. Use code at your own risk.