重新安装Visual Studio 2015后,无法打开SSIS包(.dtproj文件)



我在Visual Studio 2015中制作了一个SSIS包。过了一会儿,我不得不重新安装VS,因为一个不相关的包出现了一些问题。现在,当我尝试打开SSIS包时,我首先得到以下弹出窗口:

The 'ResourceManagerPackage' package did not load correctly.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:UsersxxxAppdataRoamingMicrosoftVisualStudio14.0ActivityLog.xml'.
Restarting Visual Studio could help resolve this issue.
Continue to show this error message?

即使我刚启动VS.,弹出窗口也会弹出

单击"确定"后,项目不会加载。在解决方案资源管理器中,它显示"不兼容",当我将鼠标悬停在它上面时,它会显示"应用程序未安装"。

我该如何解决这个问题?

编辑我已经运行了VS的修复,并手动添加了SSDT,没有改进。我还按照弹出窗口中的建议打开了ActivityLog,并搜索了错误。我发现了这个:

Could not load file or assembly 'Microsoft.AnalysisServices.Project, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. 
Could not load file or assembly 'Microsoft.ReportingServices.Designer, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.

可能就是这样,但由于我甚至无法打开解决方案,我不知道如何修复它。

SQL Server的版本在这里至关重要。VS的版本在历史上一直落后于SQL Server,例如SQL Server 2012使用Visual Studio 2010编辑SSIS包。

请参阅下载SQL Server数据工具(SSDT)上的更多信息

截至2022年,情况依然如此。

您是否使用Visual Studio的SQL Server数据工具插件来处理SSIS包?您可能需要重新安装修改.dtsx文件所需的任何其他组件。

Visual Studio 2015加载项中SQL Server数据工具的链接:https://msdn.microsoft.com/en-us/mt186501.aspx?f=255&MSPP错误=-2147217396

我还建议您重新安装Visual Studio,或者使用安装程序在安装时运行"修复"操作。我希望这对你有帮助!Visual Studio的问题从来都不是好的。。。

编辑: Visual Studio 2012+SQL Server Data Tools 2012可能允许您继续创建SSIS包。你可能需要重新开始,但它至少会起作用。。。我从未能够让Visual Studio 2015使用SQL Server数据工具。

您的链接:SQL Server数据工具(SSDT和SSDT-BI)的早期版本

除了Ricardo C的帖子之外,我还必须安装一些SQL Server 2012 Developer Edition功能。由于我试图让SSIS包正常工作,我安装了3个功能(不确定是哪一个修复了它):

  1. SQL Server数据工具(大多数已安装)
  2. 客户端工具向后兼容性
  3. 集成服务

为了完整起见,我已经有了";管理工具-基本;以及";完整的";连同";SQL客户端连接SDK";。

此外,我还与VS 2022和SQL Server 2022一起工作。

转到工具-管理扩展-安装-全部。并选中"SQL Server Integration Server项目"为"启用"。Visual studio有时不响应会导致禁用SSIS项目插件。

最新更新