免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4050 | 回复: 2
打印 上一主题 下一主题

ssis package error [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-24 15:20 |只看该作者 |倒序浏览
将经过处理的文本文件导入sqlserver2005
只能用ssis

SSIS package \"dat_addr.dtsx\" starting.
Information: 0x4004300A at Data Flow Task, DTS.Pipeline: Validation phase is beginning.
Warning: 0x802092A7 at Data Flow Task, OLE DB Destination [27]: Truncation may occur due to inserting data from data flow column \"Column 0\" with a length of 50 to database column \"rpt_id\" with a length of 24.
Information: 0x4004300A at Data Flow Task, DTS.Pipeline: Validation phase is beginning.
Warning: 0x802092A7 at Data Flow Task, OLE DB Destination [27]: Truncation may occur due to inserting data from data flow column \"Column 0\" with a length of 50 to database column \"rpt_id\" with a length of 24.
Information: 0x40043006 at Data Flow Task, DTS.Pipeline: Prepare for Execute phase is beginning.
Information: 0x40043007 at Data Flow Task, DTS.Pipeline: Pre-Execute phase is beginning.
Information: 0x402090DC at Data Flow Task, Flat File Source [1]: The processing of file \"C:\\dat_new\\dat_addr.txt\" has started.
Information: 0x4004300C at Data Flow Task, DTS.Pipeline: Execute phase is beginning.
Error: 0xC02020A1 at Data Flow Task, Flat File Source [1]: Data conversion failed. The data conversion for column \"Column 1\" returned status value 4 and status text \"Text was truncated or one or more characters had no match in the target code page.\".
Error: 0xC020902A at Data Flow Task, Flat File Source [1]: The \"output column \"Column 1\" (21)\" failed because truncation occurred, and the truncation row disposition on \"output column \"Column 1\" (21)\" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
Error: 0xC0202092 at Data Flow Task, Flat File Source [1]: An error occurred while processing file \"C:\\dat_new\\dat_addr.txt\" on data row 3332.
Error: 0xC0047038 at Data Flow Task, DTS.Pipeline: The PrimeOutput method on component \"Flat File Source\" (1) returned error code 0xC0202092.  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.
Error: 0xC0047021 at Data Flow Task, DTS.Pipeline: Thread \"SourceThread0\" has exited with error code 0xC0047038.
Error: 0xC0047039 at Data Flow Task, DTS.Pipeline: 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.
Error: 0xC0047021 at Data Flow Task, DTS.Pipeline: Thread \"WorkThread0\" has exited with error code 0xC0047039.
Information: 0x40043008 at Data Flow Task, DTS.Pipeline: Post Execute phase is beginning.
Information: 0x402090DD at Data Flow Task, Flat File Source [1]: The processing of file \"C:\\dat_new\\dat_addr.txt\" has ended.
Information: 0x40043009 at Data Flow Task, DTS.Pipeline: Cleanup phase is beginning.
Information: 0x4004300B at Data Flow Task, DTS.Pipeline: \"component \"OLE DB Destination\" (27)\" wrote 0 rows.
Task failed: Data Flow Task
Warning: 0x80019002 at dat_addr: The Execution method succeeded, but the number of errors raised (7) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
SSIS package \"dat_addr.dtsx\" finished: Failure.

是否表示文本文件第27行发生未知错误

论坛徽章:
0
2 [报告]
发表于 2007-12-24 15:40 |只看该作者
发现是文本框text 引起的故障
看能够转换错误

论坛徽章:
0
3 [报告]
发表于 2007-12-24 16:03 |只看该作者
新问题::
SSIS package \"dat_job.dtsx\" starting.
Information: 0x4004300A at Data Flow Task, DTS.Pipeline: Validation phase is beginning.
Warning: 0x802092A7 at Data Flow Task, OLE DB Destination [30]: Truncation may occur due to inserting data from data flow column \"Column 0\" with a length of 50 to database column \"rpt_id\" with a length of 24.
Information: 0x4004300A at Data Flow Task, DTS.Pipeline: Validation phase is beginning.
Warning: 0x802092A7 at Data Flow Task, OLE DB Destination [30]: Truncation may occur due to inserting data from data flow column \"Column 0\" with a length of 50 to database column \"rpt_id\" with a length of 24.
Information: 0x40043006 at Data Flow Task, DTS.Pipeline: Prepare for Execute phase is beginning.
Information: 0x40043007 at Data Flow Task, DTS.Pipeline: Pre-Execute phase is beginning.
Information: 0x402090DC at Data Flow Task, Flat File Source [1]: The processing of file \"C:\\dat_new\\dat_job.txt\" has started.
Information: 0x4004300C at Data Flow Task, DTS.Pipeline: Execute phase is beginning.
Error: 0xC02020A1 at Data Flow Task, Flat File Source [1]: Data conversion failed. The data conversion for column \"Column 1\" returned status value 4 and status text \"Text was truncated or one or more characters had no match in the target code page.\".
Error: 0xC020902A at Data Flow Task, Flat File Source [1]: The \"output column \"Column 1\" (21)\" failed because truncation occurred, and the truncation row disposition on \"output column \"Column 1\" (21)\" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
Error: 0xC0202092 at Data Flow Task, Flat File Source [1]: An error occurred while processing file \"C:\\dat_new\\dat_job.txt\" on data row 26448.
Error: 0xC0047038 at Data Flow Task, DTS.Pipeline: The PrimeOutput method on component \"Flat File Source\" (1) returned error code 0xC0202092.  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.
Error: 0xC0047021 at Data Flow Task, DTS.Pipeline: Thread \"SourceThread0\" has exited with error code 0xC0047038.
Error: 0xC0047039 at Data Flow Task, DTS.Pipeline: 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.
Error: 0xC0047021 at Data Flow Task, DTS.Pipeline: Thread \"WorkThread0\" has exited with error code 0xC0047039.
Information: 0x40043008 at Data Flow Task, DTS.Pipeline: Post Execute phase is beginning.
Information: 0x402090DD at Data Flow Task, Flat File Source [1]: The processing of file \"C:\\dat_new\\dat_job.txt\" has ended.
Information: 0x40043009 at Data Flow Task, DTS.Pipeline: Cleanup phase is beginning.
Information: 0x4004300B at Data Flow Task, DTS.Pipeline: \"component \"OLE DB Destination\" (30)\" wrote 9830 rows.
Task failed: Data Flow Task
Warning: 0x80019002 at dat_job: The Execution method succeeded, but the number of errors raised (7) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
SSIS package \"dat_job.dtsx\" finished: Failure.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP