Our team manages several versions of dtsconfig files, one for each release environment, and I'm trying to figure out if there is a way to avoid this and see if there is an easier way.
Our problem indicates where to find the input file. In each release environment, the input files are on a server that is different from the server that hosts the package file, which I suspect is the norm.
Ideally, I would like to specify the ConnectionString file, using an environment variable to indicate the location of the folder, but leaving part of the file name constant, as in the following example:
% FileFolder% \ MyFile.txt.
.. where% FileFolder% is \ OurServerName \ OurProjectName \ OurFilesFolder.
<?xml version="1.0"?> <DTSConfiguration> <DTSConfigurationHeading> <DTSConfigurationFileInfo GeneratedBy="MyDomain\MyIDE" GeneratedFromPackageName="" GeneratedFromPackageID="" GeneratedDate="05/30/2009 01:26:00 PM" /> </DTSConfigurationHeading> <Configuration ConfiguredType="Property" Path="\Package.Connections[FLAT_FILE_PLAN].Properties[ConnectionString]" ValueType="String"> <ConfiguredValue>\\OurServerName\OurProjectName\OurFilesFolder\MyFile.txt</ConfiguredValue> </Configuration> </DTSConfiguration>
visual-studio-2005 ssis
Chadd
source share