首页 > 解决方案 > 执行 SSIS 包时出现异常反序列化包错误

问题描述

我刚刚使用以下工具在 Microsoft 2019 服务器上安装了 Visual Studio Professional 2015:

当我运行在其他机器上运行的 SSIS 包时,我收到以下错误消息:

TITLE: Microsoft Visual Studio
------------------------------

Exception deserializing the package "The type initializer for 'Microsoft.SqlServer.Dts.Runtime.XMLSerializationHelper' threw an exception.".

------------------------------
ADDITIONAL INFORMATION:

The type initializer for 'Microsoft.SqlServer.Dts.Runtime.XMLSerializationHelper' threw an exception. (Microsoft.SqlServer.ManagedDTS)

------------------------------

Could not load file or assembly 'Microsoft.SqlServer.Diagnostics.STrace, Version=14.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. (Microsoft.SqlServer.ManagedDTS)

------------------------------

Could not load file or assembly 'Microsoft.SqlServer.Diagnostics.STrace, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.

我已经修复了 SQL Server Data 工具和 Visual Studio 本身,但没有运气。有什么建议么?

标签: visual-studiossis

解决方案


推荐阅读