使用 SSIS 和 CData 从 Sql 服务器到 Elasticsearch 的数据传输

Data Transfer from Sql Server to Elasticsearch with SSIS and CData

我正在尝试使用 SSIS[=25] 将数据从 Sql Server 传输到 Elasticsearch =](Microsoft SQL 服务器集成服务)应用程序使用 CData Elasticsearch 目标工具。

我现在成功的是什么

  • 我使用 SSIS 从 Sql 服务器获取数据。
  • 我正在使用 SSIS 从 Elasticsearch 集群获取索引名称。

但是当我尝试将数据从 Sql 服务器发送到 Elasticsearch 集群时。我收到此 错误 消息

SSIS package "c:\users...\visual studio 2015\Projects\Integration Services Project2\Integration Services Project2\Package.dtsx" starting. Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning. Error: 0xC001000E at Package: The connection "{D7065178-0114-46AA-ABF5-5D21C91A7582}" is not found. This error is thrown by Connections collection when the specific connection element is not found.

Error: 0xC004800B at Data Flow Task, SSIS.Pipeline: Cannot find the connection manager with ID "{D7065178-0114-46AA-ABF5-5D21C91A7582}" in the connection manager collection due to error code 0xC0010009. That connection manager is needed by "CData Elasticsearch Destination.Connections[Elasticsearch 2020 Connection]" in the connection manager collection of "CData Elasticsearch Destination". Verify that a connection manager in the connection manager collection, Connections, has been created with that ID.

Error: 0xC0047017 at Data Flow Task, SSIS.Pipeline: CData Elasticsearch Destination failed validation and returned error code 0xC004800B. Error: 0xC004700C at Data Flow Task, SSIS.Pipeline: One or more component failed validation. Error: 0xC0024107 at Data Flow Task: There were errors during task validation. SSIS package "c:\users...\visual studio 2015\Projects\Integration Services Project2\Integration Services Project2\Package.dtsx" finished: Failure. The program '[8508] DtsDebugHost.exe: DTS' has exited with code 0 (0x0).

我从 示例项目 属性 页面 > 调试 更改了 Run64BitRuntime True问题解决了。这里是 image