axbuild.exe xppcompileall /s=01 /altbin=”C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin”
After enough research i came to know that this is possible in two scenarios. The first one is the permissions, ensure the user running axbuild.exe has the same permissions as the AOS Service account and account should have enough access on AX database also. For me this was the problem the account through which i am login to system does not have enough permission to AX database. AxBuild.exe must be run by an account that has no less security authority than the account that runs the permanent AOS has. Source: https://msdn.microsoft.com/en-us/library/dn528954.aspxThe second time, it happened when the SQL Server had no more RAM resources available. Then fix would be to clear memory for SQL service.
Thanks for reading Happy daxing