【问题标题】:COMException after upgrading DTS package升级 DTS 包后出现 COMException
【发布时间】:2014-12-01 11:38:11
【问题描述】:

在我使用 VS2013 升级向导升级我们的 dts-packages 后,当我尝试执行包时出现以下异常:

A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in Microsoft.SqlServer.ManagedDTS.dll

Additional information: The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.

我找不到适合我的解决方案... 许多人建议将属性 Run64BitRuntime 切换为 false,但这没有帮助。

你有什么技巧可以解决这个问题吗?

提前致谢

【问题讨论】:

  • 您是否尝试删除和读取Microsoft.SQLServer.ManagedDTS dll?
  • 我找到了问题的解决方案:正如您正确建议的那样,我必须阅读正确版本的 ManagedDTS.dll 和 DTSRuntimeWrap.dll。我不得不降级到 VS2012,因为没有 64 位版本的 DTSRuntimeWrap.dll。现在一切正常,谢谢! :)
  • 我将此添加为答案

标签: c# visual-studio visual-studio-2013 ssis dts


【解决方案1】:

尝试删除并读取Microsoft.SQLServer.ManagedDTS dll

有时这应该可以解决这类问题!

【讨论】:

    猜你喜欢
    • 2019-03-20
    • 1970-01-01
    • 1970-01-01
    • 2018-09-10
    • 2020-10-13
    • 2019-08-16
    • 2017-07-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多