web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

ID conflicts on modelstore import

(0) ShareShare
ReportReport
Posted on by 275

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)
  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    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?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans