?
Solved

Error in import data from excel to MSSQL 2005 express

Posted on 2008-11-05
2
Medium Priority
?
730 Views
Last Modified: 2009-07-29
I cannot import excel data to mssql 2005 express, here is the error report :

Operation stopped...

- Initializing Data Flow Task (Success)

- Initializing Connections (Success)

- Setting SQL Command (Success)

- Setting Source Connection (Success)

- Setting Destination Connection (Success)

- Validating (Success)

- Prepare for Execute (Success)

- Pre-execute (Success)

- Executing (Error)
      Messages
      * Error 0xc020901c: Data Flow Task: There was an error with output column "industry" (18) 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: The "output column "industry" (18)" failed because truncation occurred, and the truncation row disposition on "output column "industry" (18)" 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: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "Source - product$" (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)
      
      * Error 0xc0047021: Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "SourceThread0" has exited with error code 0xC0047038.  There may be error messages posted before this with more information on why the thread has exited.
       (SQL Server Import and Export Wizard)
      
      * Error 0xc0047039: Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread0" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
       (SQL Server Import and Export Wizard)
      
      * Error 0xc0047021: Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread0" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
       (SQL Server Import and Export Wizard)
      

- Copying to [MyDB].[dbo].[product$] (Stopped)

- Post-execute (Success)
      Messages
      * Information 0x402090df: Data Flow Task: The final commit for the data insertion has started.
       (SQL Server Import and Export Wizard)
      
      * Information 0x402090e0: Data Flow Task: The final commit for the data insertion has ended.
       (SQL Server Import and Export Wizard)
      

- Cleanup (Success)
      Messages
      * Information 0x4004300b: Data Flow Task: "component "Destination - product$" (74)" wrote 0 rows.
       (SQL Server Import and Export Wizard)
      



0
Comment
Question by:techques
2 Comments
 
LVL 22

Accepted Solution

by:
PedroCGD earned 150 total points
ID: 22885710
check the datatype and lenght of the column industry in exel and SQL.
If you can, attach here the excel file to try to help you more faster!
regards!
pedro
0
 

Author Comment

by:techques
ID: 22886675
Hi

I removed the industry column and can import it.

Thanks for help

0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question