Article - CS303513

SQL error "Cannot insert duplicate key in object" when performing Modeler upgrade from 8.5 to 9

Modified: 28-Mar-2019   


Applies To

  • PTC Modeler 9.1.0.0 to 9.1 F000

Description

  • On the import of data from Modeler 8.5 to 9.0 on SQL import phase, the following  error is thrown:
    • SQLState = 23000, NativeError = 2627 Error = [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Violation of UNIQUE KEY constraint 'AK_ObjectVersion_ObjectId_Version'. Cannot insert duplicate key in object"
This is a printer-friendly version of Article 303513 and may be out of date. For the latest version click CS303513