Microsoft Dynamics AX 2012 Build and Deployment | YourSite

Microsoft Dynamics AX 2012 Build and Deployment

Miscellaneous 1090 views

Steps for model store Build:

  1. Merge code using visual studio if necessary
  2. Rename software version and check in the code after changing the version code [Ex: Des and Des Roles]
  3. Clear synchronization log from AX side
  4. Force synchronization on DES roles if necessary otherwise normal synch
  5. Force synchronization on DES if necessary otherwise normal synch
  6. Process the pending synch log
  7. Stop AOS service
  8. Parallel compilation
  9. Start AOS
  10. Execute Full CIL
  11. Perform Data dictonary synchronization 
  12. Stop AOS
  13. Delete label files
  14. Start AOS
  15. Export modelstore

Steps for model store deployment:

  1. Send Outage mail for respective group members 
  2. Copy the AX ModeStore in local path or shared path
  3. Stop AX and MR Services
  4. Open AX Management shell
  5. Apply below code for deployment
  6. Delete XPPL folder
  7. Start AOS
  8. Delete AX Cache files (C:\Users\UserName\AppData\Local\Microsoft\Dynamics Ax)
  9. Start the AX AOS and MR Servies
  10. Generate AX Full CIL
  11. Perform AX DB  synchronization 
  12. Refresh AX AIF Services
  13. Deploy AX SSRS reports
  14. Perform sanity check
  15. Send Outage completion mail

 

Coding Steps for model store deployment:

  1. Check status
  2. Create tem schema
  3. Import modelstore to temp schema
  4. If ID confict happen excute this
  5. Apply Temp schema
  6. Drop Temp schema

Respective code for Modelstore deployment:

  1. Get -Service -Name "AOS60`$01"
  2. Initialize -AXModelStore -Server (Server_name) -Database (Database_Name) -SchemaName Temp
  3. Import -AXModelStore -Server (Server_name) -Database (Database_Name) -SchemaName Temp -File (File_path.axmodelstore) -NoPrompt -verbose
  4. Import -AXModelStore -Server (Server_name) -Database (Database_Name) -SchemaName Temp -File (File_path.axmodelstore) -IDConflict Overwrite -NoPrompt -verbose
  5. Import -AXModelStore -Server (Server_name) -Database (Database_Name) -Apply Temp -Details
  6. Initialize -AXModelStore -Server (Server_name) -Database (Database_Name) -Drop Temp -NoPrompt

🚀 More Blogs You Might Like

Explore more articles and keep learning

Data Science Roadmap: From Complete Beginner to Job-Ready Practitioner
Data-Science
Data Science Roadmap: From Complete Beginner to Job-Ready Practitioner

Data Science Roadmap: From Complete Beginner to Job-Ready Practitioner...

👁 9 2026-07-26
Read More →
How AI Is Changing the Way Software Is Made
Data-Science
How AI Is Changing the Way Software Is Made

How AI Is Changing the Way Software Is Made...

👁 7 2026-07-26
Read More →
8 Mistakes That Quietly Slow Down Talented Developers
Personal-Development
8 Mistakes That Quietly Slow Down Talented Developers

8 Mistakes That Quietly Slow Down Talented Developers...

👁 29 2026-07-12
Read More →
Does religion teach hatred?
islam
Does religion teach hatred?

It is easy to spread hatred in the name of religion, but understanding the true message of religion is much de...

👁 319 2026-06-30
Read More →