Article - CS56231

How to resolve FOREIGN KEY constraint import error during Oracle to SQL Server Migration for Windchill PDMLink 10.0

Modified: 06-Sep-2012   


Applies To

  • Windchill PDMLink 10.0 10.1
  • MS SQL Server 2008

Description

  • Oracle to SQL Server Migration fails at the import step with error
Error 0xc0202009: Data Flow Task 191: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "The statement has been terminated.".
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "The INSERT statement conflicted with the FOREIGN KEY constraint "FK_VERSIONSTEP_ID". The conflict occurred in database "pdm", table "pdm.WtUpgInst_UpgradePhase", column 'ID'.".
(SQL Server Import and Export Wizard)

Error 0xc0209029: Data Flow Task 191: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "Destination Input" (834)" failed because error code 0xC020907B occurred, and the error row disposition on "input "Destination Input" (834)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
(SQL Server Import and Export Wizard)

Error 0xc0047022: Data Flow Task 191: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Destination 953 - WtUpgInst_IncrementalUpdate" (821) failed with error code 0xC0209029 while processing input "Destination Input" (834). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.
(SQL Server Import and Export Wizard)

 
  • Note that the name of the constraint may be different however it will apply to one of the WTUPGINST* table.
This is a printer-friendly version of Article 56231 and may be out of date. For the latest version click CS56231