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

[OLE DB Destination [162]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005

$
0
0

Hey there,

 I am trying to export data from excel to SQL. I have a SSIS package that I have used in the past for this exact process, problem is, is that I haven't run this process since I have gotten my new pc and the file was not configured from the source safe I got it from.  

How this process is supposed to work is:

Setup the import file to use the current file I'm working with

In the control flow diagram there is a step called "import temp data into real table" first time running this I must disable that

The ssis package creates a temp table named zzzUserCustomerCatalog, imports the records from the excel workbook worksheet named “Sheet1”. Then queries to match the following “names” with appropriate id’s

Then I re-enable  import temp data into real table and run again.

Once those id’s have been found/updated then it takes the records from the temp table and copies them to the live table 

If successful it will email the defined email address stating it was successful.

If the copy from temp to live table fails it will delete the imported records from the temp table then save the records that weren’t imported back to the excel file in the worksheet named “Not Imported” then when email the defined email address stating it failed.

I had problems with the temp table, but was able to fix that by setting the Run64BitRuntime property to false. Now I am having troubles when I enable the step. The Errors I get are:

[OLE DB Destination [162]] 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: "Unspecified error".

[OLE DB Destination [162]] Error: There was an error with input column "ShipTo" (289) on input "OLE DB Destination Input" (175). The column status returned was: "The value violated the integrity constraints for the column.".

[OLE DB Destination [162]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "input "OLE DB Destination Input" (175)" failed because error code 0xC020907D occurred, and the error row disposition on "input "OLE DB Destination Input" (175)" 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.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "OLE DB Destination" (162) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (175). 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.

I did not create this ssis package and the developer who did is no longer here, so I will do my best to provide you with any info you may need to help me in figuring this out.

Thanks for any help in solving this problem.




Viewing all articles
Browse latest Browse all 24688

Trending Articles



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