当我尝试执行一个使用脚本组件对象的包时,我得到以下错误:
Error: 2011-07-22 09:16:42.25
Code: 0x00000003
Source: {Task Name Here}
Description: There was an exception while loading Script Task from XML: System.ApplicationException: The VSTA designer failed to load: "System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component`enter code here`我运行的数据库服务器同时安装了SQL2005和SQL Server2008rtm- 10.50.1720.0 (X64)。
我尝试使用32位和64位版本执行该包,结果相同。
我最初在我的开发计算机上遇到了一个问题,当我第一次尝试在SSIS包中使用脚本对象时,Visual Studio for Applications Designer还没有出现。我通过安装Visual Studio的最新SP解决了这个问题。显然,在SQL Server上加载visual Studio不是解决此问题的可行解决方案。
建议?
发布于 2011-08-01 15:05:35
一些谷歌suggests你正在使用2008运行时执行一个2005年的包。假设是这种情况,您可以使用2005运行时,也可以升级包。
https://stackoverflow.com/questions/6792147
复制相似问题