如何使Visual Studio提示输入解决方案中每个SSIS项目的密码?

时间:2018-09-11 15:40:00

标签: visual-studio ssis sql-server-data-tools

TL; DR:Visual Studio不允许我输入每个项目的密码,但是会发出警告并阻止我使用敏感数据,而无需每次都重新配置每个项目中的所有敏感字段。

问题:

我有解决方案 ProductionStuff 和项目 ProjA ProjB ProjC ,每个项目都有一个Project带有敏感数据的.params文件,每个文件都启用了EncryptSensitiveWithPassword并设置了密码。

每个项目中都有一些SSIS软件包,每个软件包都启用了EncryptSensitiveWithPassword,并且密码设置为其项目的密码。

当我打开ProductionStuff.sln文件时,Visual Studio打开,提示我输入 ProjA 的密码,加载 ProjA ,然后提示输入< em> ProjB 闪烁并立即消失,结果加载 ProjB ,然后 ProjC 也会发生同样的情况。现在,当所有事情终于出现时,有几个警告:

Warning loading ProjB.dtproj: Warning: Failed to decrypt an encrypted XML node because 
  the password was not specified or not correct.  Project load will ...
Warning loading ProjB.dtproj: Warning: Failed to decrypt sensitive data in a project with
  a password.  The password was not specified, or is not correct. ...
Warning loading ProjC.dtproj: Warning: Failed to decrypt an encrypted XML node because 
  the password was not specified or not correct.  Project load will ...
Warning loading ProjC.dtproj: Warning: Failed to decrypt sensitive data in a project with
  a password.  The password was not specified, or is not correct. ...

如何获取每次打开解决方案时提示我输入每个密码的信息?

其他信息:

Visual Studio:15.8.4

SSDT:15.1.61808.07020

SSAS:14.0.1016.285

SSIS :(尽管已安装,但未列出任何版本)

SSRS:14.0.1016.285

项目正在部署到SQL Server 2012实例。

1 个答案:

答案 0 :(得分:0)

我相信密码对话框窗口仍然存在,但是没有对准焦点。我在我身上也看到过。我必须使用 Alt + Tab 使其重新聚焦以输入密码。