Is it possible to install the SSIS ProtectionLevel package for DontSaveSensitive and use the connection string with the password from the configuration file during package development in Visual Studio ?
I have a package, for example. Package1 with ProtectionLevel = DontSaveSensitive . This package uses a connection from the connection manager, for example. Connection1 .
Package 1 includes configuration support using the file1.dtsConfig configuration file with the specified connection string. There is a password in this connection string:
<DTSConfiguration>
<DTSConfigurationHeading>
<DTSConfigurationFileInfo GeneratedBy="..." GeneratedFromPackageName="..." GeneratedFromPackageID="..." GeneratedDate="20.3.2013 12:08:27"/>
</DTSConfigurationHeading>
<Configuration ConfiguredType="Property" Path="\Package.Connections[Destination].Properties[ConnectionString]" ValueType="String">
<ConfiguredValue>Data Source=.;Password=Password123;User ID=MyUser;Initial Catalog=Catalog;Provider=SQLNCLI10.1;Persist Security Info=True;Auto Translate=False;</ConfiguredValue>
</Configuration>
</DTSConfiguration>
Now, when you open the connection from the connection manager in Visual Studio, the text field for the password remains empty and the package does not execute. Why wasn’t I using the password specified in the connection string in the file1.dtsConfig configuration file?

source
share