Vid*_*ngh 2 sql-server ssis sql-server-data-tools
我将 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 the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).".
我尝试使用regsvr32注册C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\DTS.dll,显示成功,但我仍然收到相同的错误。
我还尝试使用gacutil.exe注册Microsoft.SqlServer.DTSRuntimeWrap.dll,但仍然没有成功。
有人可以告诉我为什么会出现此错误以及如何解决此问题。先感谢您。
归档时间: |
|
查看次数: |
8117 次 |
最近记录: |