Creation Password (GRX)
Jeff Harrison
jeffaharrison at yahoo.com
Thu Feb 24 14:08:44 PST 2011
----- Original Message ----
> From: Brian K. White <brian at aljex.com>
> To: "filepro-list at lists.celestial.com" <filepro-list at lists.celestial.com>
> Sent: Thu, February 24, 2011 4:39:47 PM
> Subject: Re: Creation Password (GRX)
>
> On 2/24/2011 4:04 PM, Chris Sellitto wrote:
> > FilePro(r) 5.0.14D9
> > Windows Server 2008 R2
> > Windows XP workstation/laptop
> >
> >
> > Hello all,
> >
> > Sometimes what we do here is we will take an existing file (ie. Gr_REDBK),
>and copy the key, map, and indexes into another folder, for example called
>REPREDBK. What we see happen when we do this is when we access the file
>REPREDBK we get a "ENTER CREATION PASSWORD FOR 'REPREDBK'" message box. There
>was no password on the original GR_REDBK file to begin with. Does anyone know
>why this happens, and how we can resolve it? I know there will be some of you
>that say not to do this. I would agree. Fact is, we did it. Any help is
>greatly appreciated. I hope I made some kind of sense.
> >
> > Thank you in advance.
> >
> > Christopher Sellitto
>
> Yes. You can't do that.
> If you want to copy or rename a filepro file, you have to use fpcopy (in
> the fp utilities menu)
>
> You CAN copy filepro files to other locations without otherwise renaming
> them and they work fine. IE, you can have /u/appl/filepro/foo and copy
> it to /u/appl2/filepro/foo and it'll work fine in the new filepro tree,
> because it's named "foo" in both locations, but you can't rename foo to
> foo2 within the same filepro directory except by using fpcopy to do it.
>
> The name of the file is embedded in certain file types like screens and
> if the name of the file at run-time doesn't match what was encoded into
> the file parts at creation time, you get that message.
>
> --
Yes, however, if you copy/rename a filepro file - without fpcopy, there is a way
to recover and remove the creation password from the map - after the fact. Many
moons ago I had documented a way to do this and I believe it appeared in a news
letter somewhere...
Basically, it goes like this.
* backup your file
* rename the directory of your file to a temporary name
* create a new (empty) file with the original name using filepro - just don't
key in any fields.
* retain the header on this new map file - this is what should be the first line
in your original map - except you need to edit the numbers that correspond to
the number of characters in the key segment, number of characters in the data
segment, and the number of fields in the key.
* edit your original map and make the proper replacements.
* delete the "empty" directory you just created.
* rename your file back to the original name you started with.
This should not be done of course unless you really know what you are doing.
I don't think you will need to go into each output format and screen, and update
them to remove the checksum/password issues as I recall - I believe this is only
an issue if you rename the formats individually.
Jeff Harrison
jeffaharrison at yahoo.com
Author of JHExport and JHImport
More information about the Filepro-list
mailing list