简体   繁体   English

如何在AX2012中导入Model并替换AXuitl?

[英]How to import Model and Replace AXuitl in AX2012?

I would like to import a new model and replace the existing related models.我想导入一个新的 model 并替换现有的相关型号。

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 errore about Database Instance;我得到一些关于数据库实例的错误; I think is wrong position.我认为是错误的 position。

My Error:我的错误:

ERROR: The MySQLInstance command or command line switch is unknown or incorrect.错误:MySQLInstance 命令或命令行开关未知或不正确。

Please, could you help me.拜托,你能帮帮我吗?

Thanks谢谢

By Dynamics AX 2012 Management Shell, this command line work:通过 Dynamics AX 2012 Management Shell,此命令行工作:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM