ulisses
ulisses

Reputation: 1569

How to import Model and Replace AXutil in AX2012?

I would like to import a new model and replace the existing related models.

In Command Promd I used:

cd "C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities"
axutil import /file:"c:\MyModel.axmodel" /server MySQLInstance /database MAPEI_AX63_MYDATABASE_model /replace:MyOLD_Model /conflict:push

I get some errors about Database Instance; I think is wrong position.

My Error:

ERROR: The MySQLInstance command or command line switch is unknown or incorrect.

Upvotes: 0

Views: 358

Answers (1)

ulisses
ulisses

Reputation: 1569

By Dynamics AX 2012 Management Shell, this command line work:

install-axmodel -noprompt -file "C:\MyModel.axmodel" -server:MySQLInstance -database:MAPEI_AX63_MyDB_model -replace "MyOLD_Model" -conflict:push

Upvotes: 0

Related Questions