Error while importing an Access table to SQL Server 2005

  • Hi,

    I have a Access table with the below details:

    Table Name: [t tracking info]

    List of columns:

    idAutoNumberLong Integer

    CNoNumberLong Integer

    ATypeText10

    ADateDate/TimeShort Date

    SIDNumberLong Integer

    StartTimeDate/TimeMedium Time

    StopTimeDate/TimeMedium Time

    TotalEffortDate/TimeShort Time

    MemoMemo

    This table has some 150,000 records

    When I tried to import this Access table to SQL Server 2005 through

    SQL import export wizard with Microsoft OLE DB Provider for SQL Server,

    it is giving the below error.

    - Copying to [ComplianceAdReview_1].[dbo].[t Tracking Info] (Error)

    Messages

    Error 0xc0202009: Data Flow Task: An OLE DB error has occurred. Error code: 0x80004005.

    An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80004005 Description: "Invalid character value for cast specification.".

    (SQL Server Import and Export Wizard)

    Error 0xc020901c: Data Flow Task: There was an error with input column "TotalEffort" (77) on input "Destination Input" (56). The column status returned was: "Conversion failed because the data value overflowed the specified type.".

    (SQL Server Import and Export Wizard)

    Error 0xc0209029: Data Flow Task: The "input "Destination Input" (56)" failed because error code 0xC020907A occurred, and the error row disposition on "input "Destination Input" (56)" specifies failure on error. An error occurred on the specified object of the specified component.

    (SQL Server Import and Export Wizard)

    Error 0xc0047022: Data Flow Task: The ProcessInput method on component "Destination - t Tracking Info" (43) failed with error code 0xC0209029. 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.

    (SQL Server Import and Export Wizard)

    Error 0xc0047021: Data Flow Task: Thread "WorkThread0" has exited with error code 0xC0209029.

    (SQL Server Import and Export Wizard)

    Error 0xc02020c4: Data Flow Task: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.

    (SQL Server Import and Export Wizard)

    Error 0xc0047038: Data Flow Task: The PrimeOutput method on component "Source - t Tracking Info" (1) returned error code 0xC02020C4. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.

    (SQL Server Import and Export Wizard)

    Error 0xc0047021: Data Flow Task: Thread "SourceThread0" has exited with error code 0xC0047038.

    (SQL Server Import and Export Wizard)

    I am not able to understand what the error is:

    please help me out.

    Thanks

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

  • Hi

    I got the mistake,

    In another execution of package I got error in

    ADate Column,

    I changed the datatype from datetime to nvarchar(100) and imported the tabel to SQL

    and in SQL I came to know that there were some dates like

    0114-12-01 00:00:00

    0118-01-01 00:00:00

    Its out of range and hence the package failed to execute.

    Need to change this in Access

    Thanks

    Thanks,
    Santhosh


    Human Knowledge Belongs To The World !!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply