gpt4 book ai didi

excel - 错误 : Excel Destination. Connections[OleDbConnection] 没有 ID 属性的值

转载 作者:行者123 更新时间:2023-12-04 22:29:18 25 4
gpt4 key购买 nike

我想在 Excel 目标中写入来自 SQL 服务器的数据。执行时,数据流任务由于以下错误而失败:

[SSIS.Pipeline] Error: The "Excel Destination.Connections[OleDbConnection]" in the connection manager collection, Connections, of "Excel Destination" does not have a value for the ID property. Verify that the ConnectionManagerID property of the runtime connection object has been set for the component.

[SSIS.Pipeline] Error: Excel Destination failed validation and returned error code 0xC004801C.


我设置了 Delay Validation包的属性到 TRUE

最佳答案

当您没有为 Excel 目标指定连接管理器时,会发生此异常。双击 Excel 目标,有一个名为 的属性。 Excel 连接管理器 它允许从列表中选择现有的 Excel 连接管理器,或通过单击新建来创建新连接。

enter image description here

有关如何将数据导入 Excel 的更多信息,您可以引用以下链接:

  • Using SSIS to Export Data to Excel
  • Import data from Excel or export data to Excel with SQL Server Integration Services (SSIS)
  • Excel Destination

  • 类似问题链接
  • Generate dynamic Excel Worksheets with Data in SSIS
  • 关于excel - 错误 : Excel Destination. Connections[OleDbConnection] 没有 ID 属性的值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54643534/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com