Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - "Query-based update" error after Access -> MySQL
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

"Query-based update" error after Access -> MySQL

 Post Reply Post Reply
Author
Imperator View Drop Down
Newbie
Newbie


Joined: 02 October 2004
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote Imperator Quote  Post ReplyReply Direct Link To This Post Topic: "Query-based update" error after Access -> MySQL
    Posted: 01 January 2007 at 9:22pm
I recently converted an 860 MB Access database, originally upgraded from version 7.x to MySQL. The conversion was done row by row INSERT through an on-server script. Everything is fine except when I update forum posts made before the conversion, which gives me the error Query-based update failed because the row to update could not be found..

For example, when I try to edit the post it gives me:
SELECT tblThread.Thread_ID, tblThread.Author_ID, tblThread.Message,
tblThread.Show_signature, tblThread.IP_addr, tblThread.Hide,
tblThread.File_uploads FROM tblThread WHERE tblThread.Thread_ID=312611;

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

Query-based update failed because the row to update could not be found.

/forum/edit_post.asp, line 685

A similar error occurs when I sticky or unsticky old posts or edit signatures. Interestingly, the error does not occur to any posts made after the database conversion.

I'm interested what others here think about the error. I was reading some other material on the internet, such as:

http://www.issociate.de/board/post/198565/Query-based_update_failed_because_the_row_to_update_could_not_be_found.html

It appears that the error might be related to myODBC and not the database data. However, it also seems illogical why some parts of the data give that error and others don't. I've also been able to update the data using my own SQL queries.

Anyone have an idea? As you can see, my Access database is quite large and I need to get out of it. Unfortunately, I'm not sure if I can live with the current errors, since my members can't update their signatures.

Back to Top
Imperator View Drop Down
Newbie
Newbie


Joined: 02 October 2004
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote Imperator Quote  Post ReplyReply Direct Link To This Post Posted: 04 January 2007 at 3:26pm
I couldn't really find a direct solution to the problem. I guess the only solution would be to remove the recordset update function calls and replace them with SQL queries.
Back to Top
diogomoura View Drop Down
Newbie
Newbie
Avatar

Joined: 17 June 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote diogomoura Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2007 at 2:26pm
I'm having the same issue deleting post's!! If I delete an entire post it won't fail, but if I delete one singular post it will give me the exact same error than you.

I'd migrated from v7 access to latest v8 mySQL, just like you and did all the steps with careful.

I' d already tried to re-upload the file delete_post.asp put no sucess.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.