SSIS dtexec - 组件丢失、未注册、不可升级或缺少必需的接口

SSIS dtexec - The component is missing, not registered, not upgradable, or missing required interfaces

我有一个包含两个数据流的相当简单的控制流。第一个使用源脚本组件从 Excel 电子表格中读取数据,并将数据存储到缓存转换组件中。第二个数据流使用源脚本组件读取文本文件,然后使用查找组件验证文本文件是否包含正确信息。 Lookup 的 No match output 被写入平面文件目标。如果我 运行 Visual Studio 中的包,调试器或执行,一切正常。如果我尝试使用 dtexec.exe 从命令行 运行 包,我会收到以下错误。

Description: The component is missing, not registered, not upgradeable, or missing required interfaces. The contact information for this component is "Cache Transform;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1".

其他不使用 Lookup 组件的软件包会给出不同的错误。

Description: To run a SSIS package outside of SQL Server Data Tools you must install Enterprise Edition (64-bit) of Integration Services or higher.

我正在使用 Visual Studio 2015 和 SSIS 2016,项目目标服务器版本是 SQL Server 2016。我 运行ning dtexec.exe 来自 C:\Program Files\Microsoft SQL Server0\DTS\Binn\。 运行 dtexec.exe 来自 c:\Program Files (x86)\...\DTS\Binn\ 给出相同的结果。

尝试根据您的评论修复/重新安装 SSIS:

Integration services are installed but I can't find SQL Server Integration Services on the services list. Something must have gone wrong in the installation.