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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error while Import XPO Project - Origin ID is not unique

(0) ShareShare
ReportReport
Posted on by 1,165

while I try to import XPO project I received the following error

The origin {EF237BF7-284D-49FA-AF2B-4D32F598A896} is not unique, it is already used by Query element with name XXXXXXXXX.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Ibrahim Salah Mohamed Profile Picture
    1,165 on at
    RE: Error while Import XPO Project - Origin ID is not unique

    this error due to importing Application object that use the same Origin id of an existing one.

    most cases came due to an object had been renamed on Development environment and needed to be reimport on another environment.

    to solve the issue you must first delete the old object then re import the new object of you make rename process

    other wise change the Origin ID manually on the XPO file (using notepad), but it is not recommended.

  • Community Member Profile Picture
    on at
    RE: Error while Import XPO Project - Origin ID is not unique

    Just a tidbit that may help others.

    We utilize TFS and some private projects were checked into TFS.  When a sync of source was attempted, private projects are synchronized to the local repository ok.  When AX does its thing so you can see the objects in the AOT, AX references the private project origin ID in the modelelement table with a name of MyUser_MyProjectName.  If that originId exists in the modelelement table with a different name, you will see the error listed above. In our case, the object was in the modelelement table with a name of SomeOtherUser_MyProjectName.  Short term resolution was to have SomeOtherUser, log in on that machine (in this case a dev machine) and delete the private projects (outside of source control), then have MyUser login to force sync TFS.  I'm thinking our long term solution would be to create a shared project when we want to check code into source control.

    Other ideas are welcome.

  • Hisham Alsayed Profile Picture
    750 on at
    RE: Error while Import XPO Project - Origin ID is not unique

    Hi Ibrahim,

               It is a great solution, can you advise what about same issue with tables have data? what i should do ? ,thanks.

    Regards,

    Hisham

  • SaverioT Profile Picture
    330 on at
    RE: Error while Import XPO Project - Origin ID is not unique

    Delete the original ID from the xpo files is it a good solution ?

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans