FIX: Operation must use an updateable query - error when using Access db

Last post 06-30-2009 10:33 AM by sirdneo. 86 replies.

Sort Posts:

  • Re: FIX: Operation must use an updateable query error when using Access db

    11-05-2004, 10:51 PM
    • Contributor
      2,085 point Contributor
    • life's Ng
    • Member since 07-21-2003, 3:47 AM
    • Singapore
    • Posts 425
    Great to hear tat.

    Happy programming
    life's Ng
  • Re: FIX: Operation must use an updateable query error when using Access db

    11-15-2004, 7:39 PM
    • Member
      20 point Member
    • Getx
    • Member since 11-15-2004, 5:15 AM
    • Posts 4
    rg77: have an idea ?!!

    i have the same problem.but i got nothing from doing that sharing.i noticed that another file is created with .ldb extension but the same name of data base file i use .it looks like locked file .do you think this is the problem ? ..

    i am confused many times ..

  • Access Updateable Query Issue Persists

    11-19-2004, 2:50 PM
    • Participant
      1,012 point Participant
    • John Spurlin
    • Member since 07-12-2002, 6:22 PM
    • Posts 217
    Here are the specs and the steps.
    WinXP Pro SP2, Net Framework 1.1

    The Access File fails with updates.
    1. Added <identity impersonate="true" /> to the <system.web> node in web.config.
    2. Disabled Simple File Sharing through the tools menu in Explorer
    2a. Added the ASPNET Account with 'Full Control' to the folder where the Access file is stored.

    Still did not work.
    3. When back to the security tab ( visible after disabling 'simple file sharing' from the View Tab (Folder Options node selected from the tools menu in Explorer ))
    3a. Click 'Share this folder' and added 'Full Control Permissions' (undesireable solution, which did not work anyway).

    What else can I do? Is there something that needs to be done through IIS?

    There are only two tables. I tried deleting the relationship to see if I could manage to update a record without enforcing referential integrity and still had no luck.

    I am feeling at wit's end. The end of my rope. The end. The end!

    Arrrrrgh! - Charlie Brown
    If I am not learning patterns and practices, I am not harnessing the power of .NET
  • Re: Access Updateable Query Issue Persists

    11-19-2004, 9:13 PM
    • Contributor
      2,085 point Contributor
    • life's Ng
    • Member since 07-21-2003, 3:47 AM
    • Singapore
    • Posts 425
    Relax bro,

    SP2... tats the source of ur problem if i not wrong... i dont know much bout tat, but u most likely have to deal with the firewall/iis in ur com. there is some threads i read b4 bout SP2 with .net..

    or may b u should try to re-register ur Asp.net with IIS
    http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=740907

    Hope this help
    life's Ng
  • Re: Access Updateable Query Issue Persists

    12-30-2004, 11:58 AM
    • Member
      25 point Member
    • jopie
    • Member since 12-30-2004, 11:50 AM
    • Posts 5
    I am having this problem for days now. I updated the NTFS permissions for the Network Service account, the IUSR-account and the IIS_WPG account so that they all have write access to my access database. The strange thing is that right after I have rebooted my server and try to open the access database I can write or change whatever I want in the database directly. Once I have ran my web application which is making a connection to this db and I try to open it directly on the server with MS Access I get the message that it is read-only. Is there somewhere a connection made via my webpage that is not closing properly?

    Thanks in advance for any advice
  • Re: Access Updateable Query Issue Persists

    12-30-2004, 12:38 PM
    • All-Star
      46,040 point All-Star
    • joteke
    • Member since 06-16-2002, 3:24 PM
    • Kyro, Finland
    • Posts 6,879
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs
    I updated the NTFS permissions for the Network Service account, the IUSR-account and the IIS_WPG account so that they all have write access to my access database.

    Permissions need to be for the folder where mdb file resides, not just for the mdb file itself. (Creating the ldb, locking file needs those permissions). Did you check that?
    Thanks,

    Teemu Keiski
    Finland, EU
  • Re: Access Updateable Query Issue Persists

    12-30-2004, 1:52 PM
    • Member
      25 point Member
    • jopie
    • Member since 12-30-2004, 11:50 AM
    • Posts 5
    Yes I checked that. The ldb file is actually created.
  • Re: FIX: Operation must use an updateable query - error when using Access db

    02-10-2005, 11:05 AM
    • Member
      20 point Member
    • Kenagorn
    • Member since 02-05-2005, 6:01 PM
    • Posts 4
    Thanks, I set the sharing permissions on the folder containing my database to:

    Share this folder on the network and
    Allow Network Users to change my files

    This fixed the problem on my system. (XP Pro, Access 2003, .NET 1.1)

    I also tried adding the line <identity impersonate="true" /> to my web.config file but that produced an unspecified error.

    I still don't understand why I need to set sharing permissions when I am the only user of my computer and I'm not on a network but at least its working.
  • Crying [:'(] Re: FIX: Operation must use an updateable query error when using Access db

    07-23-2005, 8:41 AM
    • Member
      5 point Member
    • domdomdom
    • Member since 07-23-2005, 12:09 PM
    • Posts 1
    Hi guys,
       I need help! i'm new to this, pls explain it in basic terms to me.Stick out tongue [:P]
    "Operation must use an updateable query error when using Access db" is the problem.
    I've read some posts, and tried the permissions,
    I've permitted Script Source Access, Read, Write, Directory Browsing, Log visits, and Index this resources in Properties of the webfolder in WWWRoot, since I wasn't sure which to check. After i applied the changes, a box titled "Inheritance Overrides" poped up, and it mentioned something about Permissions Access. so i just selected all. and applied changes.
    I still get the same problems when trying to delete or update items using the browser in VS.net.
  • Re: FIX: Operation must use an updateable query error when using Access db

    07-23-2005, 2:18 PM
    • Member
      70 point Member
    • Bachino
    • Member since 04-13-2003, 4:45 PM
    • Milton Keynes, UK
    • Posts 14

    Hi, I don't know what the other guys have said but I used to have this problem.

    My discovery (right or wrong) a year or two ago was that the IIS user account was part of the Windows "Users" group.  I decided to give the Users group full rights to the database as well and I've never had another problem since.

    Regards

    David

  • Re: FIX: Operation must use an updateable query error when using Access db

    07-23-2005, 2:28 PM
    • All-Star
      46,040 point All-Star
    • joteke
    • Member since 06-16-2002, 3:24 PM
    • Kyro, Finland
    • Posts 6,879
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs
    That permission setup should apply to the folder where the mdb file resides. So if it is in subfolder of wwwroot, setting permissions of wwwroot doesn't help, you need to set permissions to the subfolder.
    Thanks,

    Teemu Keiski
    Finland, EU
  • Big Smile [:D] Re: FIX: Operation must use an updateable query error when using Access db

    01-30-2006, 1:07 PM
    • Member
      190 point Member
    • gjackson
    • Member since 07-11-2003, 8:17 AM
    • Maine, USA
    • Posts 38

    Thanks, David... adding the Users group to that folder and giving them Full Control worked for me as well!  I could not get any of the other suggestions to work.  My only guess is that a MS security patch changed how the permissions work.

    Bachino wrote:
    My discovery (right or wrong) a year or two ago was that the IIS user account was part of the Windows "Users" group.  I decided to give the Users group full rights to the database as well and I've never had another problem since.

  • Re: FIX: Operation must use an updateable query error when using Access db

    03-09-2006, 6:57 AM
    • Member
      42 point Member
    • Dreem
    • Member since 12-08-2005, 3:12 PM
    • Posts 14

    I have windows XP Professional, i tried everything specified here and in other related threads but it still didn't work for me. It was very frustrating.  What eventually worked was removing the Deny permissions on IUSER_Computer name and IWAM_computer name acounts. Even if you give both of these accounts Full Control under the Allow column, if any permissions are set under the Deny column (the default is deny Write access on both of these accounts) the Deny permissions take precedence.

    I went back and reset all the File Sharing and other wild-goose permission changes back to normal/default and it still works, so this must have been the main cause of problem.

     

        

  • Re: FIX: Operation must use an updateable query error when using Access db

    03-18-2006, 6:15 AM
    • Member
      5 point Member
    • unknown_08
    • Member since 03-18-2006, 11:13 AM
    • Posts 1

    this helps me alot. thanks...

  • Re: FIX: Operation must use an updateable query error when using Access db

    06-23-2006, 12:05 PM
    Bachino:

    My discovery (right or wrong) a year or two ago was that the IIS user account was part of the Windows "Users" group.  I decided to give the Users group full rights to the database as well and I've never had another problem since.

    This worked for me as well, after I had already tried the other suggestions. Much thanks!

Page 4 of 6 (87 items) « First ... < Previous 2 3 4 5 6 Next >