Zolf
asked on
SQL server Import Export Wizard error
Hello there,
I am trying to copy data from one db to abother db using SQL server Import Export Wizard. Bu I get this error when I try to execute the wizard
I am trying to copy data from one db to abother db using SQL server Import Export Wizard. Bu I get this error when I try to execute the wizard
- Copying to [dbo].[supplierOrder] (Error)
Messages
Error 0xc0202009: Data Flow Task 1: 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: "Violation of PRIMARY KEY constraint 'PK__Section__3213E83F21B6055D'. Cannot insert duplicate key in object 'dbo.Section'.".
(SQL Server Import and Export Wizard)
Error 0xc0202009: Data Flow Task 1: 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: "Violation of PRIMARY KEY constraint 'PK__Supplier__3213E83F29572725'. Cannot insert duplicate key in object 'dbo.Supplier'.".
(SQL Server Import and Export Wizard)
Error 0xc0202009: Data Flow Task 1: 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: "Violation of PRIMARY KEY constraint 'PK__supplier__3214EC2708162EEB'. Cannot insert duplicate key in object 'dbo.supplierOrder'.".
(SQL Server Import and Export Wizard)
Information 0x402090df: Data Flow Task 1: The final commit for the data insertion in "component "Destination 3 - supplierOrderReceive" (350)" has started.
(SQL Server Import and Export Wizard)
Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR . The "input "Destination Input" (53)" failed because error code 0xC020907B occurred, and the error row disposition on "input "Destination Input" (53)" 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 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR . The "input "Destination Input" (280)" failed because error code 0xC020907B occurred, and the error row disposition on "input "Destination Input" (280)" 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 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR . The "input "Destination Input" (171)" failed because error code 0xC020907B occurred, and the error row disposition on "input "Destination Input" (171)" 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 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Destination 1 - Supplier" (158) failed with error code 0xC0209029 while processing input "Destination Input" (171). 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)
Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Destination - Section" (40) failed with error code 0xC0209029 while processing input "Destination Input" (53). 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)
Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Destination 2 - supplierOrder" (267) failed with error code 0xC0209029 while processing input "Destination Input" (280). 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)
Information 0x402090e0: Data Flow Task 1: The final commit for the data insertion in "component "Destination 3 - supplierOrderReceive" (350)" has ended.
(SQL Server Import and Export Wizard)
ASKER
yes I agree but the tables are empty in the destination db
Is it possible these primary keys are not set in your source database and you have duplicate rows in the source database but have set PKs in the destination database and therefore the errors are occurring when the duplicates are encountered in the source data.
ASKER
I don't get it can. can you elaborate your comment. I am trying to copy table from one db to another db
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
what do I do so I be able to transfer data from one db table to another db table
Tables mentioned :
dbo.Section 'PK__Section__3213E83F21B6
dbo.Supplier 'PK__Supplier__3213E83F295
dbo.SupplierOrder 'PK__supplier__3214EC27081