I have a package in SSIS I created to do a Lookup Transformation. This transformation I put into a ForEach Loop. When I run the package, the following OLE DB Destination Errors occur.
[OLE DB Destination ] 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 11.0" Hresult: 0x80004005 Description: "Invalid character value for cast specification". [OLE DB Destination ] Error: There was an error with OLE DB Destination.Inputs[OLE DB Destination Input].Columns[REGISTRATION_DATE] on OLE DB Destination.Inputs[OLE DB Destination Input]. The column status returned was: "The value could not be converted because of a potential loss of data.". [OLE DB Destination ] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "OLE DB Destination.Inputs[OLE DB Destination Input]" failed because error code 0xC0209077 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. [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "OLE DB Destination" (48) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (61). 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.
The columns in my input and output tables are given as
Input and Output Tables are: NAME,varchar(50) EMAIL_ADDRESS,varchar(100) REGISTRATION_DATE,DateTime
My input files are Text Documents in Notepad where the columns are separated by commas. I have checked the tables data types and they all match. But why do these errors still come up?
User contributions licensed under CC BY-SA 3.0