Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  Buy Now
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
Heng Xin Tian Tai Ltd. of Beijing City (abbr, HXTT)

"Failed to lock the data region" error
2010-11-29 03:31:08.0

Our application using the latest version of your DBF driver (Servoy to FoxPro) came up with an error.
The error message is: 'Failed to lock the data region[2147483646,2147483647] of jobs.DBF'

We do try to lock another table executing an SQL statement "LOCK TABLE blah" but the table name is different and can never be jobs. The figures in the message don't give any clue as to what's happening either, they're far beyond the real job numbers.

In our connection string we use lockType=FoxPro and loadIndices=true.

Do you think it's the driver that throws the error?

HXTT Support
2010-11-29 08:05:09.0
>The error message is: 'Failed to lock the data region[2147483646,2147483647]
>of jobs.DBF'
It means that jobs.dbf has been total table lock by another application. Whether there's other applcation is using jobs.dbf. If not, you should have run "unlock table jobs" once. Usually you needn't to run lock/unlockt talbe sql because HXTT DBF can do automatically concurrent data modification.

Search Key   Search by Last 50 Questions


Copyright © 1999-2017 Heng Xin Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap