title: c# Error: “Could Not Find Installable ISAM” in converting Excel file into .CSV file
body: <p>I'm working on a project that would be able to <strong>convert Excel files to .CSV File</strong>, I think there are some problems in my C# code that is generating and error message <strong>Could Not Find Installable ISAM</strong>, please help me to sort out my problem.</p>
  
  <p>Code:</p>
  
  <pre><code>if (dlgOne.FileName.EndsWith(".xlsx"))
  {
      StrConn = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + srcFile + ";Extended Properties=\"Excel 12.0;\"";
  }
  
  if (dlgTwo.FileName.EndsWith(".xls"))
  {
      StrConn = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + srcFile + ";Extended Properties=\"Excel 1.0;HDR=Yes;IMEX=1\"";
  }
  
  OleDbConnection conn = null;
  
  conn = new OleDbConnection(StrConn);
  conn.Open();  &lt;------------ throw exception
  </code></pre>
  
  <p>In debug mode the application throws an <strong>exception</strong> (line: <code>conn.Open();</code>)
  I searched the Internet and I found that I have to put the <code>Data Source</code> between one cotes but it doesn't work in my case.</p>