- Total Members: 220,010
- Threads: 525,381
- Posts: 976,975
-
January 25th, 2006, 08:29 AM
#1
Setting Permissions to Access Database - step by step guide
The following will solve those two common errors:
---
Operation must use an updateable query
cannot update database database is readonly
---
Such errors occur when you try to update/delete/insert records
to Access Database, but don't have proper permissions.
Note, this is not IIS problem but rather Windows problem.
Follow those steps, according to the Server OS:
Window 2000 Professional/Windows 2000 Server
- Browse to the database file meaning the .MDB file by double
clicking My Computer and browsing to the file. - Right click the file.
- Choose Properties
- Go to the Security Tab
- Click the Add button

- Select IUSR_[computer name] and click Add

- Click OK

- Check the checkbox for Write permission in the Allow column

- Confirm.
Window XP/Windows 2003 Server
- Browse to the database file meaning the .MDB file by double
clicking My Computer and browsing to the file. - Windows XP users:
- Go to Tools --> Folder Options

- Go to View tab
- Uncheck "Use simple file sharing" and confirm.

- Right click the file.
- Choose Properties
- Go to the Security Tab (XP users - if it won't show make sure
you followed instructions in step #2) - Click the Add button
- Type IUSR_[machine name] in the box, replace "machine name"
with the name of the computer as you can see in the
"From this location" textbox

- Click OK, check the checkbox for Write permission in Allow column.

- Confirm.
That's all, you may have to repeat above steps to the folder
containing the mdb file as well.
Last edited by Shadow Wizard; August 24th, 2010 at 02:53 AM.
-
April 20th, 2006, 06:26 AM
#2
Ur a star....i really needed this... Thanks
-
May 21st, 2006, 08:31 AM
#3
Highly recommended
-
June 15th, 2006, 08:29 AM
#4
It solved my problem too.
will the Uncheck "Use simple file sharing" change anything else in the way share files?
-
June 15th, 2006, 09:11 AM
#5

Originally Posted by
lostside
It solved my problem too.
will the Uncheck "Use simple file sharing" change anything else in the way share files?
as far as I know, it won't change anything else - only add the Security tab
to the Properties window.
-
June 16th, 2006, 07:47 AM
#6
Just set up new XP Pro - added IIS but no security tab! How do I add this.
Thank you in advance
-
June 16th, 2006, 12:39 PM
#7

Originally Posted by
Phoenix_riser
Just set up new XP Pro - added IIS but no security tab! How do I add this.
Thank you in advance
the Security tab has nothing to do with IIS..
read the section "Window XP/Windows 2003 Server" and see step #2.
it explain what you have to change in the Folder Options.
-
October 5th, 2006, 09:09 PM
#8
we wish IIS can set folder write/read rights for every user, it is easy for us,I have meet this problem for serval times too.
Last edited by Shadow Wizard; October 6th, 2006 at 06:39 AM.
Reason: removed advertisement
-
November 3rd, 2006, 01:38 AM
#9
Thanks for sharing the useful information.
This will help many new bees like me...
Web Design Company | Delete history
-
January 6th, 2007, 05:36 AM
#10
That s what I did, I could not even locate security Tab. May b I am very backward. Please help
-
January 6th, 2007, 05:41 AM
#11
in XP, this tab won't appear by default.
refer to step #2:
Go to Tools --> Folder Options
Go to View tab
Uncheck "Use simple file sharing" and confirm.
-
March 8th, 2007, 07:17 AM
#12
Last edited by Shadow Wizard; September 24th, 2007 at 02:56 AM.
-
March 8th, 2007, 07:28 AM
#13
I think it's available only for XP professional edition.
what OS you have?
-
March 8th, 2007, 07:28 AM
#14
-
March 8th, 2007, 07:30 AM
#15

Originally Posted by
xxJanexx
Home.
so you can't install IIS and can't use ASP.. this guide is not relevant for you.
Similar Threads
-
By XandarX in forum Visual Basic Programming
Replies: 6
Last Post: June 6th, 2005, 05:59 PM
-
By datasurf in forum Microsoft Access Help
Replies: 3
Last Post: June 2nd, 2005, 11:41 PM
-
By arvind2004 in forum .NET Development
Replies: 1
Last Post: October 3rd, 2004, 09:24 AM
-
By bzibee in forum Microsoft Access Help
Replies: 1
Last Post: June 3rd, 2004, 11:25 AM
-
By saunaG in forum ASP Development
Replies: 1
Last Post: February 13th, 2004, 03:15 PM
Comments on this post