Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Variable Page error #54

Posted on 2003-11-19
5
Medium Priority
?
496 Views
Last Modified: 2013-12-25
Hi,

When i trying to Import Data from this file..i am getting the following error.

Variable Page error #54


How to recover this file...Address.dbp.
0
Comment
Question by:mikkilineni
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 32

Accepted Solution

by:
Brendt Hess earned 500 total points
ID: 9783274
An error 54 indicates a corrupt variable data portion in the record.  The best thing to do in this case would be to Clone the data file, Recover the data, then Load the new file, all using the BUTIL utility.  To do this (assumes DB is on a Windows server):

Go to a command prompt

CD to the directory and drive where the data file is located

Type 'BUTIL -clone address2.dbp address.dbp'
    This creates a file called 'address2.dbp' with the same layout as address.dbp

Type 'BUTIL -recover address.dbp address.txt'
    This recovers all of the data possible from the address.dbp file into the address.txt file.  For the record(s) with the error 54, as much of the data as can be recovered is copied into the .txt file

Type 'BUTIL -load address.txt address2.dbp'
    This loads the data into the new table

Finally, rename the files:

REN address.dbp address.old
REN address2.dbp address.dbp

Your data file now should be in good shape.
0
 
LVL 32

Expert Comment

by:Brendt Hess
ID: 9800909
Didi this help at all?
0
 
LVL 7

Author Comment

by:mikkilineni
ID: 9813838
No..... Clone is Not working for The file..but it works for aother files...

the Varaible record length i s 9000 and i am getting a error Record length cannot Be more Than 4096.
0
 
LVL 32

Expert Comment

by:Brendt Hess
ID: 9813933
What version of Btrieve are you working with?  If 6.15 0r earlier, what is in the BTI.INI file, and what command line are you using to start the engine?  You probably have some buffer entry set too small.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question