Spurious template errors Log Out | Topics | Search
Moderators | Edit Profile

X-Ways Support Forum » Advanced Features » Spurious template errors « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Reed Darsey
Posted on Sunday, May 6, 2001 - 3:24:   

Stefan,

For my next question about templates, I would like to know
why an error message appears when applying a Boot Sector FAT
or Master Boot Record template to a saved file of each of
those sectors?

That is, using WinHex itself, or other utilities that save
MBRs and boot sectors, get the following message when
applying the appropriate template:

"The data at offset 0 does not meet the template's
requirements. Continue nonetheless?"

Continuing loads the template, and the screen looks exactly
like what is gotten using WinHex to view the sector on the
disk itself.

The project I'm on is trying to use WinHex as one of the
tools to help fill in the "Media Worksheet" that is the last
page of the manual for the demo of ACR Data Recovery
Software's "Media Tools".

For working on close-to-dead disks I have the DOS Norton
Utilies Disk Editor 8.0, which has screens similar to
WinHex's templates (but only for FAT16, not FAT32). But you
can edit any sector on the hard disk, if you know what
belongs where, so printouts of WinHex's templates can then
guide recovery efforts. Which is why I save them in a
directory to be analyzed by WinHex.

NU's Disk Editor runs under DOS, so a simple DOS boot disk
can let me work on any hard disk. Then on my machine, I can
use WinHex to view what ought to be there, and use Norton's
Disk Editor to do the actual editing.
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann (Admin)
Posted on Sunday, May 6, 2001 - 4:18:   

"The data at offset 0 does not meet the template's requirements."

This message pops up because the template is designed to be applied to a disk sector, not a file. You can either ignore the error or remove the line "appliesto disk" from the template definition.
Top of pagePrevious messageNext messageBottom of page Link to this message

Bernd Hammon
Posted on Friday, Mar 29, 2002 - 11:53:   

Why do I get a syntax error in template definition
when testing dbf field.txt template tutorial and no syntax erros when editing and saving the file.
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann (Admin)
Posted on Friday, Mar 29, 2002 - 13:21:   

The check in the template editor does not look at the requires statement's parameter, where the tutorial templates indeed had an error.

dbf header.txt: replace requires 30 "0 0" with requires 30 "00 00"

dbf field.txt: replace requires 10 0 with requires 10 00

I have updated the downloadable tutorial .zip file. Sorry for the inconvenience, and thanks for reporting back.

Add Your Message Here
Post:
Username: Posting Information:
Only registered users may post messages here, i.e. you need to have an account.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:
Forum operated by X-Ways Software Technology AG.