August 28, 2012 at 3:39 am
Hi All,
I want to import data from Excel Sheet to Sql Server 2008 DB.
For that i created 2 columns in DB i.e., Questions & Answers
CREATE TABLE Sample
(
[Questions] nVarchar(Max),
[Answers] nVarchar(Max)
)
Now i started importing the data from excel to sql
at last i got this error & my total report view is as like this,
Operation stopped...
- Initializing Data Flow Task (Success)
- Initializing Connections (Success)
- Setting SQL Command (Success)
- Setting Source Connection (Success)
- Setting Destination Connection (Success)
- Validating (Success)
Messages
* Warning 0x80049304: Data Flow Task 1: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available. To resolve, run this package as an administrator, or on the system's console.
(SQL Server Import and Export Wizard)
- Prepare for Execute (Success)
- Pre-execute (Success)
- Executing (Error)
Messages
* Error 0xc020901c: Data Flow Task 1: There was an error with output column "F1" (15) on output "Excel Source Output" (9). The column status returned was: "Text was truncated or one or more characters had no match in the target code page.".
(SQL Server Import and Export Wizard)
* Error 0xc020902a: Data Flow Task 1: The "output column "F1" (15)" failed because truncation occurred, and the truncation row disposition on "output column "F1" (15)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
(SQL Server Import and Export Wizard)
* Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Source - Sheet1$" (1) returned error code 0xC020902A. 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. There may be error messages posted before this with more information about the failure.
(SQL Server Import and Export Wizard)
- Copying to [dbo].[SampleIIS] (Stopped)
- Post-execute (Success)
Messages
* Information 0x402090df: Data Flow Task 1: The final commit for the data insertion in "component "Destination - SampleIIS" (20)" has started.
(SQL Server Import and Export Wizard)
* Information 0x402090e0: Data Flow Task 1: The final commit for the data insertion in "component "Destination - SampleIIS" (20)" has ended.
(SQL Server Import and Export Wizard)
* Information 0x4004300b: Data Flow Task 1: "component "Destination - SampleIIS" (20)" wrote 0 rows.
(SQL Server Import and Export Wizard)
One more thing is that i already imported 25 excel sheets to database
only this one is not importing.I can't understand why????
Please give solution for me....
Thanks in Advance.
August 28, 2012 at 3:45 am
It would seem that the data in the sheet is either unicode/non-unicode and the connection manager is saying its the other, or the data in the sheet is to big to insert into the table.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply