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

Hresult: 0x80004005 Description: "Cannot insert duplicate key row

$
0
0

Good Morning All,

I have a package and it loads data from flat files into the SQL SERVER table. When i execute the package i'm getting the following error:

[Insert AgeOfAciveCaseLoadDetail [194]] Error: 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: "Cannot insert duplicate key row in object 'dbo.AgeOfActiveDetail' with unique index 'idx_AgeOfActiveDetail'. The duplicate key value is (Oct 10 2011 12:00AM, 49, 15, 05175048, 175048).".

I tried using the following link to resolve the problem but no luck. (http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/4a50e5e4-be22-47f9-a32b-30285e30d975)

In the package i have a conditional split operator named as validation, can any one please tell how to validate for a duplicate key error. Please any help or advice is greatly appreciated,

Thanks


SV


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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