title: Errors were detected in the command line argument, please make sure all arguments are set correctly (SqlManagerUI)
body: <p>I have an SSIS package that outputs and excel file and emails it. When i run it from Visual Studio it works fine. But when i run it from the job in SSMS its throwing an error:</p>
  
  <blockquote>
    <p>"Errors were detected in the command line argument, please make sure all arguments are set correctly. (SqlManagerUI)</p>
  </blockquote>
  
  <p>The problem seems to be in the Excel connection manager connection string. Its working fine in Visual Studio but in SSMS job its causing the above mention error.</p>
  
  <p>Below is how the connection string is defined in my job:</p>
  
  <pre><code>Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\\nsi.pri\atp-images-DEV\StagingDB\ApprovedCustomers\DailyApprovedCustomers_2019_05_14.xlsx;Extended Properties="EXCEL 12.0 XML;HDR=YES";
  </code></pre>