• Theses are the errors I receive after I run the SSIS after creating a second field in the database which is the primary key.

    The field I have created is an INT called UniqueID. I thought it would automatically create a number? It is not mapped to anything from my txt file.

    [EOD Database [2]] 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: "The statement has been terminated.".

    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Cannot insert the value NULL into column 'UniqueID', table 'Datacube_Prog10.dbo.EOD_CAPITA_ENDOFDAY'; column does not allow nulls. INSERT fails.".

    [EOD Database [2]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "EOD Database.Inputs[OLE DB Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "EOD Database.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 "EOD Database" (2) failed with error code 0xC0209029 while processing input "OLE DB Destination Input" (15). 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.