
Hi
below is what i got with -verbose. I also try to import model store from another environment
PS C:\Windows\system32> Import-AXModelStore -File F:\Database_BK\20160630\databasename.axmodelstore -Server ServerName -Database databasename_model -verbose
VERBOSE: AXUtil 6.2 - Microsoft Dynamics AX Admin Utility (6.2.2000.826)
(c) Copyright, Microsoft Corporation, 2011. All rights reserved.
VERBOSE:
VERBOSE: The AXUtil command was started in the mode: IMPORTSTORE.
VERBOSE:
VERBOSE: Working against model store ServerName/databasename_model.
VERBOSE:
This will overwrite all models and metadata in the target database.
This can impact business data and production environments.
Therefore it is important to shutdown the AOS, backup the target database,
and verify you are importing the correct file.
Continue (Y/N)?
Continue with this operation?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
VERBOSE: Id conflict detected. Source id: 60002; target id: 60003; path:
\Data Dictionary\Tables\CustOpenInvoices\Fields\NTT_VATInvoice
VERBOSE:
VERBOSE: Id conflict detected. Source id: 60023; target id: 60022; path:
\Data Dictionary\Tables\NTT_WIPDetailBalanceTmp\Fields\JournalNameId
VERBOSE:
VERBOSE: Id conflict detected. Source id: 60022; target id: 60023; path:
\Data Dictionary\Tables\NTT_WIPDetailBalanceTmp\Fields\Description
VERBOSE:
VERBOSE: Id conflict detected. Source id: 103079; target id: 103080; path:
\Data Dictionary\Tables\NTT_RealizedGainLossTmp
VERBOSE:
VERBOSE: ERROR: ID conflicts were detected and the import operation is aborted.
VERBOSE:
VERBOSE: ERROR: The pipeline has been stopped.
VERBOSE:
Import-AXModelStore : The pipeline has been stopped.
At line:1 char:20
+ Import-AXModelStore <<<< -File F:\Database_BK\20160630\DatabaseName.axmodelstore -Server ServerName -Database DatabaseName_mode
l -verbose
+ CategoryInfo : OperationStopped: (:) [Import-AXModelStore], Pip
elineStoppedException
+ FullyQualifiedErrorId : ID conflicts were detected and the import operat
ion is aborted.,Microsoft.Dynamics.AX.Framework.Tools.ModelManagement.Powe
rShell.ImportStoreCommand
Any advice would be appreciated
Regards,
Mark
*This post is locked for comments
I have the same question (0)It means that your current modelstore uses different object IDs than the modelstore you're importing. It's possible to enforce the import, but it's a serious problem and you shouldn't ignore it.
What exactly are you doing?