Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 August 8th, 2003, 03:49 PM
Authorized User
 
Join Date: Jul 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default Updateable Query Error

The following code:

SQL = "UPDATE Members "
        + "SET Nursery = 1 "
        + "WHERE ID = "
        + NonVolunteerMember;

adoConnection.Execute(SQL);

gives the following error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.

/Scheduling/AddVolunteerToListSQL.asp, line 51


What does this mean? I have previously used this identical code and it worked. I am in the process of moving files around and this error has cropped up. Does it have anything to do with the way the table field is set up within access (2000). The data type is Yes/NO and the format field is blank.

Thanks,
Rich

__________________
Ego is a faithful friend; He stays with us all the way to the crater.
 
Old August 9th, 2003, 08:47 AM
Authorized User
 
Join Date: Jul 2003
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This was a server problem...not a code problem

 
Old August 13th, 2003, 09:54 PM
Authorized User
 
Join Date: Jun 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to planeswalk
Default

Hi,

You need to check if you have Write permissions to the database. With an Access database, you just need to add your username with Modify permissions on the file's ACL. With a SQL database, you need to make sure that your username is one of the db_owners for the DB.

Cheers!

Marlon Villarama
Support Team
Web Burner Hosting
[email protected]
www.webburner.com
877-535-2876





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error msg:Operation must use an updateable query . cJeffreywang ASP.NET 2.0 Basics 2 April 27th, 2008 02:10 AM
When is a query updateable? donevco Access 2 January 31st, 2007 11:56 AM
updateable query dilionyi Visual Basic 2005 Basics 7 August 16th, 2006 11:42 AM
help me ! can't updateable query ! 123123 Classic ASP Databases 1 April 18th, 2005 08:54 AM
Operation must use an updateable query error bnlmike Classic ASP Databases 1 July 16th, 2003 04:21 AM





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