Kbase P16723: Errors 6831 and 6822 when attempting to create database bi file in c:\program files
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  03/01/2011 |
|
Status: Verified
SYMPTOM(s):
Error running prostrct create
Error attempting to move or create a database in a subdirectory of c:\program files
Syntax error in structure file: (6840)
Extent length missing. (6831)
Area information is only valid for data extents. (6822)
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.x
OpenEdge 10.x
CAUSE:
Along with Storage Area names, Progress also requires that long path names be enclosed in quotes. For all lines in the structure file, Progress recognizes the first string of data enclosed in quotes as the Storage Area name. The .bi file, however, does not reside in a named Storage Area.
FIX:
Change the entry for the bi file in the structure description file (.st) to read:
c:\progra~1.
When attempting to move or create extents in a subdirectory of c:\program files, the path in the structure file must be put into quotations. Otherwise, the f in "c:\program files" is taken as the token for a fixed length extent and the 6831 error appears as a numeric value is expected.
The .bi file, however, presents a bigger problem. If the path is quoted, the 6822 error occurs because there is no Area information for the bi extent. The bi extent line must be adjusted so that it reads "c:\progra~1\"
Here is an sample structure description file that will work:
d "Schema Area":6,32 "c:\program files\test\"
#
d "Employee":7,32 "c:\program files\test\" f 320
d "Employee":7,32 "c:\program files\test\"
#
d "Inventory":8,32 "c:\program files\test\" f 640
d "Inventory":8,32 "c:\program files\test\"
#
d "Cust_Data":9,32 "c:\program files\test\" f 320
d "Cust_Data":9,32 "c:\program files\test\"
#
d "Cust_Index":10,32 "c:\program files\test\" f 320
d "Cust_Index":10,32 "c:\program files\test\"
#
d "Order":11,32 "c:\program files\test\" f 1280
d "Order":11,32 "c:\program files\test\"
#
d "Misc":12,32 "c:\program files\test\" f 320
d "Misc":12,32 "c:\program files\test\"
#
b c:\progra~1\test\
#