Jump to content


X2Package Export from V 6.6 Import into V 7.1


  • Please log in to reply
1 reply to this topic

#1 juddra



  • Members
  • Pip
  • 5 posts

Posted 02 January 2020 - 08:55 PM



I am trying to migrate customizations and data from a instance of V 6.6 to new default  V 7.1 instance.


When I try to export the customizations and data from the V 6.6 instance goes into 'never-never' land and the export never completes.


When I try to export customizations only, I get the expected zip file but when I try to import the customization data, I get the following error message:


Failed to apply package! CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Sales-id' for key 'modelName_2'


See attached pdf. Attached File  ErrorInfo.pdf   107.25KB   3 downloads


I am trying migrate the existiing V 6.6 instance to V 7.1, Any help that can be provided is much appreciated.



#2 X2Clifton


    Advanced Member

  • Moderators
  • 49 posts

Posted 03 January 2020 - 10:50 AM

Hi juddra,


Because I don't have full content of what you're importing/exporting, I can offer two solutions:


1. You run your SQL commands by hand to find what lines exactly are causing your issues and remove those files from the zip file


2. (Better) Export your records and remake the modules within the app by hand, then import the records

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users