小编Vid*_*ngh的帖子

无法将类型“System.__ComObject”的 COM 对象转换为接口类型“Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2019.IDTSApplication160”

我将 SSIS 与 Visual Studio 2019 结合使用,在 SQL Server 2019 上创建和部署包。最初,当我的包在 SSDT 上运行时,我将其部署在 SSMS 集成服务器上,但没有输出。

因此,我在 Visual Studio 2019 中检查了:项目 -> 项目属性 -> 配置属性 -> 常规 -> 目标版本,其中设置为SQL Server 2022,所以我将其更改为SQL Server 2019

当我尝试在 Visual Studio 2019 中再次运行该包时,出现以下错误: Failed to load the package "Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2019.IDTSApplication160'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{037FE238-12C5-4313-AE13-9E116E90ACEA}' failed due to …

sql-server ssis sql-server-data-tools

2
推荐指数
1
解决办法
8117
查看次数

标签 统计

sql-server ×1

sql-server-data-tools ×1

ssis ×1