title: wcf service can't update a dbf file - "read only" error
body: <p>I have a wcf 4 service that is trying to add a record to a visual fox pro dbf file on the same server.  When it tries to do the insert I get "Cannot update the cursor USER, since it is read-only."</p>
  
  <p>I assume that this is a permissions problem.  What do I have to do to give permission to the wcf service to update my dbf file?</p>
  
  <p>This works on my develpment machine.</p>
  
  <p>Here is some of the code:</p>
  
  <pre><code> OleDbConnection oConn = new OleDbConnection("provider=vfpoledb;Data Source="\\data\\tt.dbc");
              oConn.Open();
   OleDbCommand oCommand = new OleDbCommand();
                       oCommand.Connection = oConn;
                       oCommand.CommandText = "SET NULL OFF\r\nSET DELETED ON";
                       oCommand.ExecuteNonQuery();
  
   OleDbCommand mycmd = new OleDbCommand("insert into user (lastname,firstname) values ('Doe','John')", oConn);
              mycmd.CommandType = CommandType.Text;
  
                           lnRet = mycmd.ExecuteNonQuery();
  </code></pre>