Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 17314

To uninstall the Cu7 which is installled above Cu6 in AX2012R2

$
0
0

Hi Folks,

If you have the good backups before installing the CU7 updates, then you can easily revert it to the healthy condition.(Backup the Model database and Data Database).

Taking backup should be must and this will be helpful at the worst cases.

If you do not have the good backups, please follow the below steps.Before starting the work you must take the backup at the current situation.

You should use the AxUtil cmd line tool (is in the Servers AOS bin directory)

0) STOP the AOS and MAKE a BACKUP of the databases

1) List yor current installed models

axutil view /s:mssqlserver[\instance ] /db:name_of_model_db

e.g.: axutil view /s:sqltest /db:MirosoftDynamicsAx_model

you will get a list of installed models in your database 

2) Locate the CU7 models (these models have a version of 6.2.1000.4051) in that list and remember the IDs

................
xx1 SYP Update for Foundation         6.2.1000.4051
xx2 SYP SYP Labels                    6.2.1000.4041
xx3 SYP Update for Foundation Upgrade 6.2.1000.4051
................ 

!! you have 2 or 3 (depends on the installtion of the upgrade model)

3) Delete these (2 or 3) models from the model database

axutil delete /s:mssqlserver[\instance ] /db:name_of_model_db /model:xx1 
axutil delete /s:mssqlserver[\instance ] /db:name_of_model_db /model:xx2 
axutil delete /s:mssqlserver[\instance ] /db:name_of_model_db /model:xx3

4) Install the CU6 models (2 or 3) (from CU6 installation, located in model directory)

From R2CU6 Installtation folder models

(MF) CU6 SYP model          dynamicsax2012r2-kb2850972-foundation.axmodel
(ML) CU6 SYP Labels         dynamicsax2012r2-kb2850972-syplabels.axmodel
(MU) CU6 SYP Upgrade model dynamicsax2012r2-kb2850972-foundationupgrade.axmodel

axutil import /s:mssqlserver[\instance ] /db:name_of_model_db /file:<pathtoMF>
axutil import /s:mssqlserver[\instance ] /db:name_of_model_db /file:<pathtoML>
axutil import /s:mssqlserver[\instance ] /db:name_of_model_db /file:<pathtoMU>

5) Start the AOS, synch compile and look for errors.

6) Hope that it will work 


Many Thanks,

Rudra

"Helping others without any expectation will always made the others to help you"



Viewing all articles
Browse latest Browse all 17314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>