Monday, May 5, 2014

How to run AxBuild command in AX 2012

To start a AxBuild compile, you need to have CU7 update for Ax 2012 R2, make sure that you have axbuild.exe files in

C:\Program Files\Microsoft Dynamics AX\60\Server\bin

1. Open command prompt as an administrator
2. Go to AxBuild path C:\Program Files\Microsoft Dynamics AX\60\Server\bin
3. Run below command.


AxBuild.exe xppcompileall /aos=<AOS instance number> /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\6.0\Client\Bin"


Friday, May 2, 2014

System.Runtime.InteropServices.COMException (0x80070422): The service cannot be started

While installing Dynamics AX 2012 R2  debugger I was getting this error. I started windows update service the error was resolved.