Patrick.O.Ige

Knowledge Creation is Essential to Business, and Communication is Essential to Knowledge Creation

  Home  |   Contact  |   Syndication    |   Login
  94 Posts | 5 Stories | 342 Comments | 0 Trackbacks

News

SharePoint SharePoint SharePoint

Article Categories

Archives

Post Categories

ADO.NET

Ajax

API/WebServices

ASP.NET Resources

BizTalk Server

Blogs I read

Free Books

How to

JQuery

LINQ

Misc

Mobile BI

Reporting Services

SEO

Sharepoint Resources/Tools

SharePoint 2010 Branding

SharePoint 2010 Videos

SilverLight

SQL Server

Sql Server 2012

SSIS

Windows Phone

WorkFlows

WSS V3

xml

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!

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Saturday, April 28, 2007 9:12 AM

Feedback

# re: Operation must use an updateable query error when updating/adding data to a MS ACCESS Database file 4/28/2007 9:40 AM Petri
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

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: