Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Description: "Violation of PRIMARY KEY constraint

$
0
0

Hi all i have a scheduled job that runs every morning and this package has many containers and this morning the job failed with the following error:

Message

Executed as user: AD\MOSS_IBI. ...9.00.3042.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  2:00:02 AM  Error: 2012-08-13 02:24:15.58     Code: 0xC0202009     Source: Import CITATIONS Facts OLE DB Destination [423]     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 Native Client"  Hresult: 0x80004005  Description: "The statement has been terminated.".  An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80004005  Description: "Violation of PRIMARY KEY constraint 'PK_FACT_CitationDetails'. Cannot insert duplicate key in object 'dbo.FACT_CitationDetails'.".  End Error  Error: 2012-08-13 02:24:15.58     Code: 0xC0047022     Source: Import CITATIONS Facts DTS.Pipeline     Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "OLE DB Desti...  The package execution fa...  The step failed.

Wheni executed the CONTANIER manually it ran fine with no errors, why am i getting this when its run as a scheduled job, there are no changes to that package or container.

Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>