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 September 16th, 2003, 10:46 PM
Authorized User
 
Join Date: Sep 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Teon
Default Update SQL problem

Server Error in '/' Application.

Operation must use an updateable query.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: Operation must use an updateable query.

What am I suppose to do with this?

 
Old September 17th, 2003, 05:48 AM
Authorized User
 
Join Date: Sep 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Teon
Default



 
Old September 17th, 2003, 08:42 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Go to the forum search and search for "updateable query". There are several (dozens) of threads involving this same problem.

Peter
 
Old September 18th, 2003, 01:59 AM
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,

This error means that you do not have sufficient permissions to modify the Access database. You must check if the ASPNET user has Modify permissions for the database so your script can work. You can right-click the MDB file, go to the Security tab and check the ACL if the ASPNET user has Modify permissions.

Cheers!


Marlon Villarama
Support Team
Web Burner Hosting
[email protected]
www.webburner.com
Toll-Free: 877-535-2876
 
Old September 17th, 2004, 07:18 AM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 345
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to gokul_blr Send a message via Yahoo to gokul_blr
Default

Check the connection string statement, no. of paramenters
data source name & server name is entered correctly. To check & more specific, always post with the DB (mdb/SQL/Oracle)

Gokul


Quote:
quote:Originally posted by Teon
 Server Error in '/' Application.

Operation must use an updateable query.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: Operation must use an updateable query.

What am I suppose to do with this?

 
Old September 19th, 2005, 09:55 AM
Registered User
 
Join Date: Sep 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There is only one solution to this problem. I spent hours on this.

Right click on the folder that has your access database. Go to security tab, click on add account. Add this Object name COMPUTERNAME\ASPNET. For example, my comp name is ROCK, hence I typed ROCK\ASPNET. Then give this account modify and write permissions.

Problem solved.








Similar Threads
Thread Thread Starter Forum Replies Last Post
insert & update statment problem (sql express) abdrabaa C# 2 July 15th, 2007 05:54 AM
T-SQL Update Loop Gyto SQL Language 3 February 2nd, 2007 05:52 AM
Chapter 15 - Update sql db problem oneflatfoot BOOK: Beginning ASP 3.0 1 November 19th, 2006 06:20 PM
update sql kim Beginning VB 6 0 April 2nd, 2006 02:25 PM
Update sql dhborchardt Classic ASP Databases 1 June 10th, 2003 10:06 AM





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