Technical Support

Correct Corrupted Form Design

When copying a form design (or doing a file recovery) if the following error message appears :

"can't allocate 22500 bytes for new form."

To correct the problem follow these steps from the VersaForm XL Main Menu:

Select item #7 "VersaForm Utilities" and press <Enter>

Select item #5 "File Diagnostic functions" and press <Enter>

From VersaForm File Diagnostic Utility menu select option "A" "Display the form design – fields, checking, etc." and press <Enter>

Press <Enter> to accept the default path for your file or enter the file path and press <Enter>

Enter the name of the file you want to work with then press <Enter>

You will see a screen like the one below. Note the number on the line that says "Form design location:" ["254" in this example]. Press the <Enter> keys four times to return to the VersaForm File Diagnostic Utility menu.

Mdcsdesk00000070.gif 

Select "E" "Dump one file storage unit (SU) at a time" and press <Enter>

In response to the prompt "Storage unit # to dump: 0" type in the number you recorded from the last screen ["254" in this example].

You will see a screen like the one below.

Mdcsdesk00000071.gif 

Press <Enter> until you find a record that has nothing bewteen the "[" and "]" brackets.(has FE FE as the last four characters of the second unit on line 0 - note the highlighted areas above).

Record this record number ["260" in this example]. Multiply this number by 256 to obtain the hexidecimal file location. In this case 66560.

Press <Esc> three times to return to the VersaForm XL Main Menu.

Open the file with a hexidecimal editor (like Norton Disk Editor), locate the record at the offset location from above (66560). Change the first set of eight characters to "00 00 00 00". The "05 01" in the example below.

Mdcsdesk00000072.gif 

You should now be able to compte your file copy or recovery.

Email your support questions to tech@versaform.com

This information is provided as a courtesy.  VersaForm Systems Corporation has provided this information "AS IS" without warranty of any kind – express or implied.  In no event shall VersaForm Systems Corporation be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.