Hi everyone,
I am trying to export data via data entity to Azure database. But I am facing strange issue. For OOB entities like HCMWorkerEntity (Workers) below error is coming.
<?xml version="1.0"?><Errors><Error><ErrorCode>-1071636471</ErrorCode><SubComponent>OLE DB Destination [336]</SubComponent><Description>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 11.0" Hresult: 0x80004005 Description: "Violation of PRIMARY KEY constraint 'PK_HcmWorkerStaging'. Cannot insert duplicate key in object 'dbo.HcmWorkerStaging'. The duplicate key value is (Worker-2018-10-02T13:47:46-741D1E6649F04C579B9704C58C84681D, 000001, initial).".
</Description></Error><Error><ErrorCode>-1071607767</ErrorCode><SubComponent>OLE DB Destination [336]</SubComponent><Description>SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "OLE DB Destination.Inputs[OLE DB Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "OLE DB Destination.Inputs[OLE DB Destination Input]" 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.
</Description></Error><Error><ErrorCode>-1073450974</ErrorCode><SubComponent>SSIS.Pipeline</SubComponent><Description>SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "OLE DB Destination" (336) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (349). 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.
</Description></Error></Errors>
It is trying to insert duplicate record in my table but after exporting in excel, I am not able to find any duplicate records. I dropped entity several times and published same but it is throwing same issue.
Can I send partial data via Data Entity?
Reards,
Smit Patel