DeveloperBarn Forums

Go Back   DeveloperBarn Forums > Programming & Scripting > ASP Development

Discuss "How to Properly Configure Web Permissions on an Access Database" in the ASP Development forum.

ASP Development - Learn coding practices and tips to get the best out of your Active Server Pages (ASP). The Classic ASP forum is for ASP/VBScript and ASP/JScript applications.


Closed Thread « Previous Thread | Next Thread »  
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old March 23rd, 2008, 10:44 AM
jmurrayhead's Avatar
Your Lord & Master

 
Join Date: Mar 2008
Location: Reston, VA, USA
Posts: 534
Thanks: 14
Thanked 39 Times in 38 Posts
Blog Entries: 2
Rep Power: 1
jmurrayhead will become famous soon enough

Awards Showcase
Microsoft Windows Microsoft .Net Microsoft SQL Server Classic ASP 
Total Awards: 4

Default How to Properly Configure Web Permissions on an Access Database

The following guide should help you resolve the following two errors:
  • Operation must use an updateable query.
  • Cannot update. Database or object is read-only.
These errors may occur when you try to Insert, Update or Delete records in an Access database via a user account (typically IUSR_machinename) that does not have sufficient permissions.

To prevent these errors, follow these steps (note: The following is being performed from a Windows XP Professional system. The steps are very similar to that of Windows 2000, and the Windows Server family. However, the steps are very different for Windows Vista).

1. Find the Access database file (.mdb) that you are using.
2. Right-click the file and select "Properties" from the context menu.
3. Select the "Security" tab.
4. On this screen you will see a list of users and/or groups with permissions assigned. Click the "Add" button.

5. Select the IUSR_computername user and click "OK".

6. Confirm the user and click "OK" again.

7. Finally, ensure the IUSR account has Read and Write permissions on the database.


When dealing with Windows XP, you may notice that you don't have the Security Tab. This could be for one of two reasons: You don't have Windows XP Professional (i.e. Home Edition doesn't have this ability), or you have "Simple File Sharing" enabled.


If you have Windows XP Home Edition, then you must upgrade to Professional to use this. If you have Simple File Sharing enabled, perform the following steps:
  1. In Windows Explorer, Go to "Tools", "Folder Options".
  2. Click the "View" tab.
  3. Uncheck "Use simple file sharing" and click OK.
You should now be able to Insert, Update and Delete operations on your Access database.
__________________
jmurrayhead
Did I help you out? Make me popular by clicking the icon!

If you found a post helpful, please click the button in the lower right-hand corner of the post.

Powered by ASP.Net
Sponsored Links
Closed Thread

  DeveloperBarn Forums > Programming & Scripting > ASP Development

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.developerbarn.com/asp-development/58-how-properly-configure-web-permissions-access-database.html
Posted By For Type Date
Operation must use an updateable query - ASP Free This thread Refback April 11th, 2008 01:13 PM


Sponsored Links

ASP.NET Resource Index
a directory of ASP.NET tutorials, applications, scripts, assemblies and articles for the novice to professional developer.

Free Web Directory
Including Chats and Forums Resources, Offer automatic, instant and free directory submissions.
URLZ Web Directory
URLZ Web Directory

Free Web Directory - Add Your Link
The Little Web Directory
Free Web Directory
Pegasus free web directory is a free directory organised by categories.

Web Directory & SEO Services
dirroot web directory


All times are GMT -4. The time now is 10:25 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 2008 DeveloperBarn.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46