Monday, March 26, 2012

Importing Tables from MS Access

I m trying to import Tables from MS Access and I m having this error

- Copying to [Manpower].[dbo].[MAINTABLE] (Error)
Messages
Error 0xc0202009: Data Flow Task: An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft SQL Native Client" 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 "PPExpiry" (157) on input "Destination Input" (113). 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" (113)" failed because error code 0xC020907A occurred, and the error row disposition on "input "Destination Input" (113)" 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 - MAINTABLE" (100) 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)

any hekp on this

Regards

How you're importing the tables from MS Access, is it DTS or import/export tool, any other tool?

Also check what kind of data or schema exists on the specified tables.

|||

I was import/export tool. I solved the problem. The Proble was with data type. There were some wrong entries in dates. after deleting those i was able to import the database.

Thanx

|||

kinda intrested how did u solve problem. i am trying to import access tables from harddrive into sql server which is my backend database.

i used

docmd.transferdatabse acimport,"microsoft Access",dbname,actable,Me.listtable,me.listtable

my tables are listed on listbox, call listtable.

i get error so i do not know what to do.

sql

No comments:

Post a Comment