3 Replies Latest reply: Jun 5, 2012 12:18 PM by Chris McLane RSS

SQL error when importing data into a track-it 10.5 DB..

derk

I am trying to import a CSV file into SQL Express 2008 DB for Track-It and I am getting the following error.

the USERID column does not even show up in the wizard so I am not sure why I am getting a message regarding USERID. Do I need to add a column to the CSV file for USERID and assign it values for each user?

 

 

- Copying to [dbo].[TIUSER] (Error)

Messages

Error 0xc0202009: Data Flow Task 1: 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 the value NULL into column 'USERID', table 'TRACKIT_DATA.dbo.TIUSER'; column does not allow nulls. INSERT fails.".
(SQL Server Import and Export Wizard)

Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "Destination Input" (43)" failed because error code 0xC020907B occurred, and the error row disposition on "input "Destination Input" (43)" 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.
(SQL Server Import and Export Wizard)

Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Destination - TIUSER" (30) failed with error code 0xC0209029 while processing input "Destination Input" (43). 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.
(SQL Server Import and Export Wizard)