使用 SSIS 和 CData 从 Sql Server 到 Elasticsearch 的数据传输

问题描述

我正在尝试使用 CData Elasticsearch Destination 工具通过 SSIS(Microsoft sql Server 集成服务)应用程序将数据从 sql Server 传输到 Elasticsearch .

我目前取得的成功。

  • 使用 SSIS,我从 sql Server 获取数据。
  • 使用 SSIS,我从 Elasticsearch 集群获取索引名称

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

SSIS 包“c:\users...\visual studio 2015\Projects\Integration 服务项目 2\集成服务项目 2\Package.dtsx" 开始。信息:0x4004300A 在数据流任务,SSIS.Pipeline: 验证阶段开始。错误:0xC001000E 在包: 未找到连接“{D7065178-0114-46AA-ABF5-5D21C91A7582}”。这 Connections 集合在特定连接时抛出错误 未找到元素。

错误:0xC004800B 在数据流任务,SSIS.Pipeline:找不到 ID为“{D7065178-0114-46AA-ABF5-5D21C91A7582}”的连接管理器 由于错误代码 0xC0010009 导致的连接管理器集合。那 “CData Elasticsearch 需要连接管理器 Destination.Connections[Elasticsearch 2020 Connection]” “CData Elasticsearch Destination”的连接管理器集合。 验证连接管理器集合中的连接管理器, 连接,已使用该 ID 创建。

错误:0xC0047017 在数据流任务,SSIS.Pipeline:CData Elasticsearch Destination 验证失败并返回错误代码 0xC004800B。错误:数据流任务中的 0xC004700C,SSIS.Pipeline:一或 更多组件验证失败。错误:0xC0024107 在数据流任务: 任务验证期间出现错误。 SSIS包 "c:\users...\visual studio 2015\Projects\Integration Services Project2\Integration Services Project2\Package.dtsx”完成: 失败。程序“[8508] DtsDebugHost.exe: DTS”已退出 代码 0 (0x0)。

解决方法

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