Solved

Variable Page error #54

Posted on 2003-11-19
5
473 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
  • 3
5 Comments
 
LVL 32

Accepted Solution

by:
bhess1 earned 125 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:bhess1
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:bhess1
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article describes some very basic things about SQL Server filegroups.
Creating and Managing Databases with phpMyAdmin in cPanel.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now