Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 605357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:08:11+00:00 2026-05-13T17:08:11+00:00

I have been charged with maintaining a legacy classic ASP application. The application uses

  • 0

I have been charged with maintaining a legacy classic ASP application. The application uses an ODBC system DSN to connect to a MySQL database.

We had to recently update the servers to satisfy some licencing requirements. We were on Windows, with MySQL 4.x and the 3.51 ODBC driver. We moved to a Linux machine running MySQL 5.1.43 and are running the 5.1.6 ODBC driver on the new IIS server.

Users almost instantly started reporting errors as such:

Row cannot be located for updating.
Some values may have been changed
since it was last read.

This is a ghost error, and the same data changes, on the same record, at a different time won’t always produce the error. It is also intermittent between different records, as in, sometimes, no matter what values I plug in, I haven’t been able to repro the defect on all records.

It is happening across 70 of about 120 scripts, many over 1,000 lines long.

The only consistency I can find is that on all of the scripts that fail, they are all reading/writing floats to the DB. Fields that have a null value don’t seem to crash, but if there is a value like ’19’ in the database (note the no decimal places) that seems to fail, whereas, ‘19.00’ does not. Most floats are defined as 11,2.

The scripts are using ADODB and recordsets. Updates are done with the following pattern:

  • select * from table where ID =
    udpdated recordID
  • update properties of the record from the form
  • call RecordSet.Update and RecordSet.Close

The error is generated from the RecordSet.Update command.

I have created a workaround, where rather than select/copy/update I generate an SQL statement that I execute. This works flawlessly (obviously, an UPDATE statement with a where clause is more focused and doesn’t consider fields not updated), so I have a pretty good feeling that it is a rounding issue with the floats that is causing a mis-match with the re-retrieval of the record on the update call.

I really would prefer NOT re-writing 100’s of these instances (a grep across the source directly finds 280+ update calls).

Can anyone confirm that the issue here is related to floats/rounding?

And if so, is there a global fix I can apply?

Thanks in advance,
-jc

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:08:11+00:00Added an answer on May 13, 2026 at 5:08 pm

    Have a look at MySQL Forums :: ODBC :: Row cannot be located for updating.
    They seem to have found some workaround and some explanations as well..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am in the situation where I have been charged with making an application
We have a large console application in Haskell that I have been charged with
So, I'm working with a really old system which uses a person's mysql database
I've been charged with building a documentation system/platform. Here's a short list of the
Question for you all, I've been charged with developing an application to view data
Here is my problem: I have just been brought onto a massive asp.net C#
I have been charged with working on a feature for certificates my company prints
So I have been charged with the task of making all of the computers
Background: We have an application that has been in the works for over a
I have been charged with the task of analysing the log table of my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.