title: OleDbConnection and OleDbCommand - Invalid authorization specification
body: <p>I have a single <code>DBF file</code> which I can open using <code>Microsoft Visual FoxPro</code> and I now need to add through <code>Visual Studio 2012</code> in <code>C#</code> lnauage data to it.</p>
  
  <p>I'm getting this error: <code>Invalid authorization specification.</code></p>
  
  <p>with this code:</p>
  
  <pre><code>DialogResult result = MessageBox.Show("Do you wish to submit?", "Potvrzení", MessageBoxButtons.YesNo);
  
      if (result == DialogResult.Yes)
      {
          odcCON.Open();
          OleDbCommand odc = new OleDbCommand("INSERT INTO netpokl.DBF (Castka,Akce) values(@castka,@akce)");
          odc.Parameters.AddWithValue("@castka",textBox2.Text);
          odc.Parameters.AddWithValue("@akce",test);
          odc.ExecuteNonQuery();
          odcCON.Close();
  
      }
  </code></pre>
  
  <p>OleDbConnection is this:</p>
  
  <pre><code> OleDbConnection odcCON = new OleDbConnection(" Provider=SQLOLEDB;Data Source=\\SERVER\\Transfer\netpokl.DBF");
  </code></pre>