【发布时间】:2011-07-12 00:31:36
【问题描述】:
我遇到了一个 SSIS 包的问题。
- 执行查询以从数据库(SQL Server 2008)(已执行数据流任务)
- 使用 Excel Destination 将提取的数据导出到 Excel 97-2003 电子表格 (.xls)
众所周知,xls 文件的每张纸限制为 65,536 行 x 256 列。因此,当查询提取的记录数超过限制 (65,536) 时,Excel 目标步骤将失败。
我收到以下错误消息。
Error: 0xC0202009 at Calidad VIDA, Excel Destination [82]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
Error: 0xC0209029 at Calidad VIDA, Excel Destination [82]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "Excel Destination Input" (93)" failed because error code 0xC020907B occurred, and the error row disposition on "input "Excel Destination Input" (93)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure. Error: 0xC0047022 at Calidad VIDA, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Excel Destination" (82) failed with error code 0xC0209029 while processing input "Excel Destination Input" (93). 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. There may be error messages posted before this with more information about the failure.
Error: 0xC02020C4 at Calidad VIDA, OLE DB Source [1]: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
Error: 0xC0047038 at Calidad VIDA, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "OLE DB Source" (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. There may be error messages posted before this with more information about the failure.
该文件需要采用该格式,因为客户端没有较新的版本。他们不想购买许可证。有谁知道如何解决这个问题? 我应该使用脚本任务并自己制作 excel,还是应该为每个循环制作一个并创建各种 excel 工作簿?
【问题讨论】:
标签: c# sql sql-server-2008 excel ssis