I was installing AX 2012 R3 and was done successfully. After that i need to run initialization checklist under which full compile was required so to save my time i ran axbuild which compile it pretty soon but in compilation checklist it doesn't seem to be completed. I though mark it as complete but later on .net compile i have got numbers of error.
Any suggestion what went wrong? Thanks in advance.
When you run the compilation using AXbuild, you can find a log file in the server directory. Please verify if this contains any errors. Then you can focus to solve these.
Otherwise, probably you have to do the compilation from the client itself. Some things are/were not 100% correct in the AXbuild compilation.
When you use AXbuild, you have to manually tick the completed flag on the checklist.
When the x++ compilation runs without errors, you can continue with the CIL compilation.
I have seen where the first compile (done through the checklist) needs to be done in the client and not through AXBuild. Try to do the compile in the client and see if you're able to proceed.
André Arnaud de Calavon I have seen that log but didnt found any error i.e y i proceeded wiith CIL compile and manually tick that compile option in checklist.
Rob Hensley I have done the same but my question is, what is the use coz i have done the same thing twice and each time i have to run the same with client. Can anyone tell me when to use this axbuilt??
I used the axbuild tool also for a new (test) confguration. Then I indeed had to manually tick the completed flag on the checklist. Only when there were customizations with conflicting objects, I got some errors in the log.
The axbuild can be used to speed up the compilation time. In some cases it has a slightly different compile approach. Some persons prefer a full x++ compilation over this axbuild to be sure the build for delivery will be free of errors.
I only do a full compile from the client during the checklist. Every compile after that I use AXBuild.
I have faced the same scenario as Rob has experienced
I suggest we should not do axBuild compile after installation, it should be using initialization checklist option only.
Please verify and update us with your findings
There are two options to compile. It should both work as stated in this post: technet.microsoft.com/.../dd309589.aspx
If you encounter problems, please check if all prerequisites are met. If you still encounter problems, it is possible to create a support incident.
If you prefer to use the old compilation which could hours and hours, it is also possible. As stated in my previous reply some people (I'm aware of partners and ISV's) do a AX client based compilation because they rely that this always works. I cannot disagree.
I actually did the axbuild compile on production environment ( not just after installation ) with full confidence as per the suggested document by microsoft but later faced too many unknown errors which got automatically resolved after compiling through ax client.
I am not getting confidence with axbuild yet however will ask if its working the same as ax client does for others?