Microsoft Dynamics AX 2012 Build and Deployment | YourSite

Microsoft Dynamics AX 2012 Build and Deployment

Miscellaneous 1051 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

What is Bounce Rate in SEO? Complete Guide for Beginners
search-engine-optimization
What is Bounce Rate in SEO? Complete Guide for Beginners

Learn what bounce rate is in SEO, how it is calculated, why it matters, common causes of high bounce rates, an...

👁 28 2026-05-24
Read More →
Comprehensive Interviewer Guide - Detailed Article
skill
Comprehensive Interviewer Guide - Detailed Article

Learn how to conduct effective interviews with this comprehensive interviewer guide. Explore hiring strategies...

👁 43 2026-05-22
Read More →
Five Industry Shifts Reshaping the AI Ecosystem (2026 Trends)
skill
Five Industry Shifts Reshaping the AI Ecosystem (2026 Trends)

Five Industry Shifts Reshaping the AI Ecosystem (2026 Trends)...

👁 38 2026-05-19
Read More →
How to Grow Your Business Mindset Step by Step
skill
How to Grow Your Business Mindset Step by Step

Learn how to develop and grow a successful business mindset step by step. Discover entrepreneurial thinking, p...

👁 56 2026-05-09
Read More →