"One or more accessor flags were invalid." -- VFPOLEDB

  • Thread starter Thread starter Shanda Robertson
  • Start date Start date
S

Shanda Robertson

I am trying to do a simple Asp.Net update using the same OleDb code
that has worked for Access databases, and I get this error message
when using a Visual Foxpro database: "One or more accessor flags were
invalid." It retrieves data ok, but won't update it.

Anyone know why? Thanks.
 
Hi Shanda,

I had the same problem and in my case the error was thrown when I
included "OLE DB Services" in the connectionstring to the database.
Setting OLE DB Services to -1, -2 or -4 caused the error message. Not
including it in the connectionstring or setting it to values 0, -5 or
-6 caused no problems.

I hope this helps,
kind regards, Martine.
 
Back
Top