Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 19th, 2006, 10:56 PM
Authorized User
Join Date: Jan 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Operation must use an updateable query

Hi Guys;

Recently I have to reinstalled my WindowsXP Prof. and now my app. done in VS.NET 2003 won’t update it’s Access 2000 db. I changed the db’s folder property (Web Sharing/Share this folder/Edit Properties/Check – Read & Write) but without effect.

There is another folder’s Read-Only attribute in the General tab but when I switch it off and go back to it, it still is on. Is this the problem? And if it is, why can’t I turn it off?

I copy the db directly to the c: root and redirected the Connection String to it but no budge, everything works but update.

Following some ASP.NET Forums advice I went to Computer Manager/Local Users and Groups/Users, copy the “ASP.NET Machine Account”, went to the db’s folder/properties/Web Sharing, pasted the “ASP.NET Machine Account” in the Aliases list, changed the Edit Properties to Read, Write and Execute (I try it all possible ways; “ASP.NET”, Read, Write, Script), and still no go.

Can you write me line by line how to go about it? (Novice)

Thanks a lot. Henry

Old January 24th, 2006, 07:11 AM
Registered User
Join Date: Jan 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts


you need to assign the user IUSR\IUSR_COMPUTERNAME, where COMPUTERNAME is the name of your machine, permission to WRITE. This is not a matter of Web Sharing or a Share, but a Security issue. If your cannot find the Security tab in the properties window of your MS Access file or the folder containing the db, begin with the following:

- On the Tools menu in Windows Explorer, choose Folder Options
- Choose the View tab
- Uncheck "Use simple file sharing"

Click OK and you're good to go!

If you already have the Security tab in the file/folder properties window, all you need to do is choose the Security tab, and click Add. To choose user, click Advanced and then click Search. You'll find a list of local users at the bottom of the window. Find IUSR\IUSR_COMPUTERNAME in the list. Add WRITE to the list of permissions for this user and the problem is solved.

/J Andersson

Similar Threads
Thread Thread Starter Forum Replies Last Post
Operation must use an updateable query sandhya12_rcnair ASP.NET 2.0 Professional 3 November 11th, 2008 11:56 AM
Operation must use an updateable query darkhalf Access 4 February 29th, 2008 12:50 PM
Operation must use an updateable query. Laindir Sarnon Classic ASP Databases 6 September 2nd, 2004 04:27 PM
Operation must use an updateable query chaos2003 Classic ASP Databases 4 August 22nd, 2003 03:04 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.