I have created SSIS package and scheduled it on SQL 2008 R2 server using SQL Server Agent. This package uses SQL Server Configuration. The SSIS package source is "File System". Under "Data Sources", I have selected connection and changed the connection string (results into /CONN option in command line). When I run the job, even though it succeeds, it creates error message that login failed and I believe that it is because somehow it tries to use design time connection string first, then uses the connection string provided in /CONN option and gets all the configuration parameter and executes it successfully.
If I change the design time connection string to prod connection string and then try to execute the same job, it does not log any error.
Does anyone know what's going on?
Update 4/17: I am using windows authentication to connect to the sql server. Design time connection string contains DEV server. DEV and PROD systems (SQL servers/users everything) are completely separate and do not have access to each other. SSIS package runs under service account which has access to all the PROD environments that SSIS package is referring to but does not have access to DEV environments. Here is how SSIS is configured. SSIS has only one sql connection which is used only for getting the configuration data from sql table. Configuration data is used to populate the variables which will be used in child packages.
Update 4/22: SSIS is using sql server configuration because child package's design time variables are different than what is in configuration. If SSIS configuration would not have worked, child package would have thrown an error as configuration data is used to populate the parent variable which in turn will be fed to child package variable.