Operation must use an updateable query error when updating/adding data to a MS ACCESS Database file

Operation must use an updateable query.

I tried updating/writing to a table in MS ACCESS database from an ASP.NET application and i recieved the above error.Which means i can't update or insert to my database file and it didn't have the "WRITE" permission.So i decided to add this PERMISSION to my MS ACCESS file.

I use WIN XP and i discovered that by right clicking the folder where my MC ACCESS DATABASE FILE is i didn't see the the SECURITY options in the TAB options and either through the properties options.But on my WIN 2000 server i had this option.

So after some research i came across this article  "Howto configure file sharing in Windows XP" at :- http://support.microsoft.com/default.aspx?scid=kb;EN-US;q304040.

  • So my solution was that I opened up Windows Explorer selected the tools menu > Folder Options and select View tab then uncheck "Use simple file sharing".
  • After that go back to the folder where the file exist and after right clicking you will see the options "SECURITY" and then you give the FOLDER the right permissions.

And that solved my probs...

Enjoy .NETTING!

posted @ Saturday, April 28, 2007 9:12 AM

Print

Comments on this entry:

# re: Operation must use an updateable query error when updating/adding data to a MS ACCESS Database file

Left by Petri at 4/28/2007 9:40 AM
Gravatar
Patrick! Thanks! I was going crazy with this problem! Ive spent about 12 hours trying to solve this until I found your hint... The solution worked fully on one machine but not the other... And the error message was too cryptic....
I'll by you a beer one day....

Cheers,

Petri

Your comment:



 (will not be displayed)


 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345