title: SSIS, Oracle connection, and configuration files
body: <p>I have an SSIS package (<strong>Archive.dtsx</strong>) and a configuration file (<strong>ArchiveConfig.dtsConfig</strong>). The package uses an Oracle connection which, in the designer, works without any issues. However, once deployed and executed from command line, the package fails to validate the Oracle connection. Everything else in the package works perfectly fine, the MS SQL Data Flows function fine, it's the Oracle Data Flows that are causing the problem and I believe it has something to do with the configuration file.</p>
  
  <p>The command I'm using:</p>
  
  <pre><code>dtexec /f "g:\SSIS\Archive.dtsx" /conf "g:\SSIS\ArchiveConfig.dtsConfig" /set "\Package.Variables[User::date].Value";"MAY_2004"
  </code></pre>
  
  <p>And the configuration code:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;DTSConfiguration&gt;
      &lt;DTSConfigurationHeading&gt;
          &lt;DTSConfigurationFileInfo 
              GeneratedDate="5/2/2012 1:25:21 PM" 
              GeneratedFromPackageID="{AA679926-1E5C-42ED-B805-450A3E7AE555}" 
              GeneratedFromPackageName="Archive" 
              GeneratedBy="davenport"/&gt;
      &lt;/DTSConfigurationHeading&gt;
      &lt;Configuration ValueType="String" Path="\Package.Connections[Oracle].Properties[ConnectionString]" ConfiguredType="Property"&gt;
          &lt;ConfiguredValue&gt;
              Data Source=ORACLE;User ID=userName;Persist Security Info=True;Unicode=True;
          &lt;/ConfiguredValue&gt;
      &lt;/Configuration&gt;
      &lt;Configuration ValueType="String" Path="\Package.Connections[Oracle].Properties[Password]" ConfiguredType="Property"&gt;
          &lt;ConfiguredValue&gt;
              password
          &lt;/ConfiguredValue&gt;
      &lt;/Configuration&gt;
      &lt;Configuration ValueType="String" Path="\Package.Connections[Oracle].Properties[ServerName]" ConfiguredType="Property"&gt;
          &lt;ConfiguredValue&gt;
              ORACLE
          &lt;/ConfiguredValue&gt;
      &lt;/Configuration&gt;
      &lt;Configuration ValueType="String" Path="\Package.Connections[Oracle].Properties[UserName]" ConfiguredType="Property"&gt;
          &lt;ConfiguredValue&gt;
              userName
          &lt;/ConfiguredValue&gt;
      &lt;/Configuration&gt;
  &lt;/DTSConfiguration&gt;
  </code></pre>