title: Converting connection string from Microsoft.Jet.OLEDB.4.0 to Microsoft.ACE.OLEDB.12.0 provider
body: <p>I am working with a .NET program that will at some point in the future be 64-bit compiled where Microsoft.Jet.OLEDB.4.0 will not work. </p>
  
  <p>I'm trying to convert this Microsoft.Jet.OLEDB.4.0 connectionstring that looks like this:</p>
  
  <pre><code>"Provider=Microsoft.Jet.OLEDB.4.0;OLE DB Services=-4;Password=&lt;PASSWORD&gt;;User ID=&lt;USERID&gt;;Data Source=&lt;ACCESSDATABASE&gt;.MDB;Persist Security Info=True;Jet OLEDB:System database=&lt;SYSTEMDB&gt;.mdw"
  </code></pre>
  
  <p>to a Microsoft.ACE.OLEDB.12.0 that looks something like:</p>
  
  <pre><code>"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=&lt;ACCESSDATABASE&gt;.mdb;Jet OLEDB:Database Password=&lt;PASSWORD&gt;;Jet OLEDB:System database=&lt;SYSTEMDB&gt;.mdw;Persist Security Info=False"
  </code></pre>
  
  <p>Whenever I try to connect with this new connectionstring I get this exception:</p>
  
  <pre><code>System.Data.OleDb.OleDbException (0x80040E4D): Not a valid account name or password.
  </code></pre>
  
  <p>Anyone know how to properly convert this connectionstring so that it's valid? There is no documentation on Microsoft.ACE.OLEDB.12.0 connection string parameters that I know of.</p>