Error Messages from FoxPro 2.0/2.5 with "Unknown Errors"

ID: Q99548


The information in this article applies to:


SUMMARY

FoxPro generates "unknown error code" error messages that are not documented in the manuals. These error messages are generated from a variety of situations that may occur while running FoxPro.

Below is a list of error codes that FoxPro generates. The first set of numbers is the internal error code; the second set of numbers is the error code number that FoxPro returns when encountered. Some error codes are "unknown" in nature and have no known solutions. The first set of numbers (internal) is returned only if the system returns a fatal error and the set could be used in troubleshooting the fatal error.

NOTE: Some of these error codes are listed in Appendix C in the "Developer's Guide" for version 2.0 and in Appendix A in the "Developer's Guide" for versions 2.5 and later.


MORE INFORMATION


120        1      "File does not exist."
173        1      "File '' does not exist."
132        3      "File is in use."
135        4      "End of file encountered."
109        5      "Record is out of range."
100        6      "Too many files open."
121        7      "File already exists."
302        9      "Data type mismatch."
200       10      "Syntax error."
901       11      "Invalid function argument value type or count."
129       12      "Variable not found."
170       12      "Variable '' not found."
137       13      "ALIAS not found."
177       13      "Alias '' not found."
123       15      "Not a database file."
222       16      "Unrecognized command verb."
228       17      "Invalid database number."
209       18      "Line too long."
118       19      "Index file does not match database."
110       20      "Record is not in index."
204       21      "String memory variable area overflow."
203       22      "Too many memory variables."
125       23      "Index expression is too big."
601       24      "ALIAS name already in use."
122       26      "Database is not ordered."
128       27      "Not a numeric expression."
116       28      "Too many indices."
312       30      "Position is off the screen."
224       31      "Invalid subscript reference."
602       34      "Illegal operation for MEMO field."
219       36      "Unrecognized phrase/keyword in command."
139       37      "FILTER requires a logical expression."
136       38      "Beginning of file encountered."
159       39      "Numeric overflow (data was lost)."
603       41      "MEMO file is missing/invalid."
144       42      "CONTINUE without LOCATE."
182       43      "Insufficient memory."
142       44      "Cyclic relation."
240       45      "Not a Character expression."
305       46      "Illegal value."
158       47      "No fields to process."
216       50      "Report file invalid."
119       52      "No database is in USE."
215       54      "Label file invalid."
237       55      "Memory Variable file is invalid."
114       56      "Not enough disk space for"
905       58      "LOG() : Zero or negative."
906       61      "SQRT domain error."
303       62      "Beyond string."
902       67      "Expression evaluator fault."
904       78      "** or ^ domain error."
180       91      "File was not LOADed."
239       94      "Wrong number of parameters."
233       95      "Statement not allowed in interactive mode."
205       96      "Nesting error."
171      101      "Cannot open file"
236      101      "Not suspended."
172      102      "Cannot create file"
210      103      "Do nesting too deep."
247      104      "Unknown function key."
301      107      "Operator/operand type mismatch."
702      108      "File is in use by another."
700      109      "Record is in use by another."
701      110      "Exclusive open of file is required."
146      111      "Cannot write to a read-only file."
107      112      "Invalid key length."
133      114      "Index does not match database file. Recreate index."
663      115      "Invalid DIF file header."
665      116      "Invalid DIF vector - DBF field mismatch."
664      117      "Invalid DIF type indicator."
666      119      "Invalid SYLK file header."
668      120      "Invalid SYLK file dimension bounds."
667      121      "Invalid SYLK file format."
704      124      "Invalid printer redirection."
406      125      "Printer not ready."
606      127      "View file invalid."
703      130      "Record is not locked."
143      138      "No fields were found to copy."
227      152      "Missing expression."
624      164      "PAD has not been defined."
625      165      "POPUP has not been defined."
620      166      "No bars have been defined for this popup."
613      167      "BAR position must be a positive number."
618      168      "MENU has not been defined."
623      169      "Menu item cannot be defined."
622      170      "Menu item cannot be released."
616      174      "Cannot redefine menu in use."
617      175      "Cannot redefine popup in use."
614      176      "Cannot clear menu in use."
615      177      "Cannot clear popup in use."
627      178      "MENU has not been activated."
619      179      "POPUP has not been activated."
629      181      "MENU is already in use."
630      182      "POPUP is already in use."
295      202      "Invalid path or filename"
636      214      "WINDOW has not been defined."
714      214      "WINDOW '' has not been defined."
634      215      "WINDOW has not been activated."
633      216      "Display mode not available."
654      221      "Left margin plus indent must be less than right margin."
655      222      "Line number must be less than page length."
656      223      "Column number must be between 0 and 255."
174      225      "'' is not a memory variable."
175      226      "'' is not a file variable."
650      227      "Invalid box dimensions."
648      228      "Tab stops must be in ascending order."
631      230      "Bad array dimensions."
407      231      "Invalid SET expression."
176      232      "'' is not an array."
675      255      "Not a valid RapidFile database."
676      256      "Not a valid Framework II database/spreadsheet."
628      279      "Menu/Popup was not pushed."
626      287      "POPUP is too small."
291      291      "ASIN() : Out of Range."
292      292      "LOG10() : Zero or negative."
293      293      "ACOS() : Out of Range."
660      297      "Invalid Lotus 1-2-3 version 2.0 file format."
635      332      "WINDOW coordinates are invalid."
638      350      "Field must be a Memo field."
641      355      "Macro not defined."
639      356      "Invalid keyboard macro file format."
669      392      "Maximum record length exceeded in import file."
0       1000      "Internal consistency error."
1       1001      "Feature not available."
2       1002      "I/O operation failure"
3       1003      "Free handle not found."
4       1004      "Use of invalid handle."
5       1005      "Use of unallocated handle."
6       1006      "Use of transgressed handle."
7       1007      "Transgressed node found during compaction."
8       1008      "Foreign node found during compaction."
9       1009      "Incorrect handle found during compaction."
10      1010      "Area size exceeded during compaction."
11      1011      "Area cannot contain handle."
12      1012      "OS memory error."
13      1013      "Product has not been properly installed."
14-97   1014-1097 "Unknown error code(s) 14-97"
98      1098      "API function _UserError() was called."
99      1099      "Procedure cancelled."
101     1101      "Cannot open file."
102     1102      "Cannot create file."
103     1103      "Illegal seek offset."
104     1104      "File read error."
105     1105      "File write error."
106     1106      "Unknown error code 106."
108     1108      "Relational expression is too long."
111     1111      "Invalid file descriptor."
112     1112      "File close error."
113     1113      "File not open."
115     1115      "Unknown error code 115."
117     1117      "Wrong length key."
124     1124      "Key too big."
126     1126      "Record too long."
127     1127      "For/while need logical expressions."
130     1130      "'field' phrase not found."
131     1131      "From file is empty."
134     1134      "Variable must be in selected database."
138     1138      "Buffer deadlock."
140     1140      "FILTER expression too long."
141     1141      "Invalid index number."
145     1145      "Must be a character or numeric key field."
147     1147      "Target is already engaged in relation."
148     1148      "Too many relationships."
149     1149      "No memory for buffer."
150     1150      "No memory for file map."
151     1151      "No memory for filename."
152     1152      "Cannot access selected database."
153     1153      "Attempt to move file to different device."
154     1154      "Invalid buffpoint call."
155     1155      "Invalid buffdirty call."
156     1156      "Duplicate field names."
157     1157      "Cannot update file."
160     1160      "Not enough disk space for"
161     1161      "Too many records to BROWSE/EDIT in demo version."
162     1162      "Procedure '' not found."
163     1163      "BROWSE database closed."
164     1164      "BROWSE structure changed."
165     1165      " is not related to the current work area."
166     1166      "Unknown error code 166."
167     1167      "Unknown error code 167."
168     1168      "Unknown error code 168."
169     1169      "Unknown error code 169."
178     1178      "Application file '' not closed."
179     1179      "Unknown error code 179."
181     1181      "Unknown error code 181."
183     1183      "Unknown error code 183."
184     1184      "Unknown error code 184."
185     1185      "Unknown error code 185."
186     1186      "Unknown error code 186."
187     1187      "Unknown error code 187."
188     1188      "Unknown error code 188."
189     1189      "Unknown error code 189."
190     1190      "Invalid .LIB signature."
191     1191      "Bad .LIB file."
192     1192      "Internal .LIB undefined symbol error."
193     1193      "Missing .RTT section."
194     1194      "Link command failed."
195     1195      "Object file '<file>' is the wrong version."
196     1196      "'<File>' is not a FoxPro EXE file."
197     1197      "Unknown error code 197."
198     1198      "Unknown error code 198."
199     1199      "Unknown error code 199."
201     1201      "Too many names used."
202     1202      "Program too large."
206     1206      "Recursive macro definition."
207     1207      "Unknown error code 207."
208     1208      "Illegal macro substitution."
211     1211      "If/else/endif mismatch."
212     1212      "Structure nesting too deep."
213     1213      "Mismatched case structure."
214     1214      "Endtext without text."
217     1217      "Picture error in GET statement."
218     1218      "Too many fields for read."
220     1220      "Invalid character in command."
221     1221      "Required clause not present in command."
223     1223      "Invalid variable reference."
225     1225      "Must be a memory variable."
226     1226      "Must be a file variable."
229     1229      "Too few arguments."
230     1230      "Too many arguments."
231     1231      "Missing operand."
232     1232      "Must be an array definition."
234     1234      "Subscript out of bounds."
235     1235      "Structure invalid."
238     1238      "No PARAMETER statement found."
241     1241      "Improper data type in group expression."
242     1242      "Syntax error in field expression."
243     1243      "Internal error: Too many characters in report."
244     1244      "Label field type must be character\memo\numeric."
245     1245      "Error in label field definition."
246     1246      "Total label width exceeds maximum allowable size."
248     1248      "Unknown error code 248."
249     1249      "Too many READs in effect."
250     1250      "Too many PROCEDURES."
251     1251      "Unknown error code 251."
252     1252      "Compiled code for this line too long."
253     1253      "Cannot rename current directory."
254     1254      "Nested key labels are invalid."
255     1255      "Key label is invalid."
256     1256      "Mismatched braces in key label."
257     1257      "Key string too long."
258-281 1258-1281 "Unknown error code(s) 258-281."
282     1282      "Insufficient memory."
283-290 1283-1290 "Unknown error code(s) 283-290."
294     1294      "FoxUser file is invalid."
296-299 1296-1299 "Unknown error code(s) 296-299."
300     1300      "Missing )"
304     1304      "Missing ("
306     1306      "Missing ,"
307     1307      "Division by 0."
308     1308      "Insufficient stack space."
309     1309      " is not an object file."
310     1310      "Too many PICTURE characters specified."
311-336 1311-1336 "Unknown error code(s) 311-336."
337     1337      "Printjobs cannot be nested."
338-404 1338-1404 "Unknown error code(s) 338-404."
405     1405      "RUN/! command failed."
408     1408      "Unknown error code 408."
409     1409      "Unknown error code 409."
410     1410      "Unable to create temporary work file(s)."
411     1411      "RUN/! command string too long."
412     1412      "Cannot locate COMSPEC environment variable."
413-461 1413-1461 "Unknown error code(s) 413-461."
462     1462      " internal consistency error."
463-500 1463-1500 "Unknown error code(s) 463-500."
501     1501      "Record is already in use."
502     1502      "Record is in use:  Cannot write."
503     1503      "File cannot be locked."
504     1504      "Attempt to seize more than one resource."
505     1505      "Unknown error code 505."
506     1506      "Seize file cannot be accessed."
507     1507      "Screen code too large for memory."
508-599 1508-1599 "Unknown error code(s) 508-599."
600     1600      "Not enough memory to USE database."
604     1604      "No menu bar defined."
605     1605      "No pop-up menu defined."
607     1607      "Maximum allowable menu items (128) exceeded."
608     1608      "Maximum allowable menus (25) exceeded."
609     1609      "Maximum menu item length (50) exceeded."
610     1610      "Unknown error code 610."
611     1611      "Menu items/titles must be type CHARACTER."
612     1612      "No such menu/item is defined."
621     1621      "No pads defined for this menu."
632     1632      "Invalid WINDOW file format."
637     1637      "File must be opened exclusively to convert Memo file."
640     1640      "No keyboard macros are defined."
642     1642      "COLORSET resource not found."
643     1643      "Printer driver is corrupted."
644     1644      "Printer driver not found."
645     1645      "Report nesting error."
646     1646      "Total field type must be date or numeric."
647     1647      "Improper data type in field expression."
649     1649      "No previous PRINTJOB to match this command."
651     1651      "CANCEL/SUSPEND is not allowed."
652     1652      "Attempt to use FoxPro function as an array."
653     1653      "Label nesting error."
657     1657      "Column number must be between 0 and right margin."
658     1658      "Popup too big first 29864 entries shown."
659     1659      "Cannot convert Memo file for a read-only database."
661     1661      "Invalid Excel version 2.0 file format."
662     1662      "Invalid Lotus 1-2-3 version 1.0 file format."
670     1670      "Invalid Multiplan version 4.0 file format."
671     1671      "Cannot import from password protected file."
672     1672      "Cannot append from password protected file."
673     1673      "Invalid Symphony version 1 file format."
674     1674      "Invalid Symphony version 1.1 file format."
677     1677      "User-defined functions must return a value."
678     1678      "Invalid Lotus 1-2-3 version 3.0 file format."
679     1679      "Import only Worksheet A for Lotus 1-2-3 version 3."
680     1680      "Worksheet A for Lotus 1-2-3 version 3.0 file is hi"
681     1681      "PREVIEW clause not allowed with OFF/NOCONSOLE or T"
682     1682      "Not a user-defined window."
683     1683      "Index tag not found."
684     1684      "Index tag or filename must be specified."
685     1685      "Project file is invalid."
686     1686      "Screen file invalid."
687     1687      "Menu file invalid."
688     1688      "Invalid Paradox version 3.5 file format."
689     1689      "Cannot build app/exe without a main program."
690     1690      "Database operation invalid while indexing."
691     1691      "Library file is invalid."
692     1692      "Unresolvable REGIONAL name conflict."
693     1693      "Cannot find screen/menu generation program."
694     1694      "Too many extensions specified."
695     1695      "COLUMN/FORM/ALIAS/NOOVERWRITE/WIDTH allowed only with
                   FROM clause."
696     1696      "NOWAIT/SAVE/NOENVIRONMENT/IN/WINDOW clauses not allowed
                   with FROM."
697     1697      "***** THIS GOOF SPACE FOR RENT *****"
698     1698      "COLUMN/ROW/ALIAS/NOOVERWRITE/SIZE/SCREEN allowed only
                   with FROM clause."
699     1699      "AT LINE clause requires BAR style menu."
705     1705      "File access denied."
706     1706      "Descending not permitted on IDX files."
707     1707      "Structural CDX file not found."
708     1708      "File is open in another work area."
709     1709      "Cannot load PROAPI16.EXE."
710     1710      "MULTISELECT/MOVERS not supported for PROMPT style."
711     1711      "API library revision mismatch.  Rebuild library."
712     1712      "Invalid or duplicate field name."
713     1713      "Invalid field width or number of decimal places."
715     1715      "Server '<server>' not found."
716     1716      "'<queue>' not found."
717     1717      "Unable to generate printer driver."
718     1718      "File is read-only."
719     1719      "Cannot build APP/EXE while suspended."
720     1720      "Cannot SET FORMAT while in a READ with a FORMAT file."
721     1721      "All workareas in use."
722-799 1722-1799 "Unknown error code(s) 722-799."
800     1800      "SQL Internal error."
801     1801      "SQL Error Correlating Fields."
802     1802      "SQL Could not locate database."
803     1803      "SQL Invalid HAVING."
804     1804      "SQL Invalid SELECT statement."
805     1805      "SQL Too many subqueries."
806     1806      "SQL column '' not found."
807     1807      "SQL Invalid GROUP BY."
808     1808      "SQL Invalid ORDER BY."
809     1809      "SQL Out of memory."
810     1810      "SQL Invalid use of subquery."
811     1811      "SQL Aggregate on non-numeric expression."
812     1812      "SQL Statement too long."
813     1813      "SQL Invalid use of union in subquery."
814     1814      "SQL queries of this type are not supported at present."
815     1815      "'' must be created with SELECT...INTO TABLE."
816     1816      "SQL **unused**."
817     1817      "SQL **unused**."
818     1818      "SQL No FROM clause."
819     1819      "SQL Invalid Distinct."
820     1820      "SQL Invalid * in SELECT."
821     1821      "SQL **unused**."
822     1822      "SQL Invalid aggregate field."
823     1823      "SQL **unused**."
824     1824      "SQL **unused**."
825     1825      "SQL Invalid Subquery."
826     1826      "SQL Invalid Select."
827     1827      "SQL **unused**."
828     1828      "SQL Illegal Group by in subquery."
829     1829      "SQL **unused**."
830     1830      "SQL Index not found."
831     1831      "SQL Err building temporary index."
832     1832      " is not unique and must be qualified."
833     1833      "SQL Invalid WHERE clause."
834     1834      "SQL Too many UNIONs."
835     1835      "SQL **unused**."
836     1836      "SQL **unused**."
837     1837      "SQL **unused**."
838     1838      "SQL **unused**."
839     1839      "SQL cancelled operation."
840     1840      "SQL **unused**."
841     1841      "SQL Too many columns referenced."
842     1842      "SQL Subquery nesting too deep."
843     1843      "SQL **unused**."
844     1844      "Nested aggregation not allowed."
845     1845      "SQL expression too complex."
846     1846      "Cannot GROUP by aggregated field."
847     1847      "SQL **unused**."
848     1848      "Unable to project non-CNT values."
849     1849      "SQL **unused**."
850     1850      "SQL **unused**."
851     1851      "SELECT's are not UNION compatible."
852-859 1852-1859 "Unknown error code(s) 852-859."
860     1860      "Subquery returned more than one record."
861-900 1861-1900 "Unknown error code(s) 861-900."
903     1903      "String too long to fit."
907     1907      "Bad drive specifier."
908     1908      "Bad width or decimal place argument."
909     1909      "Only box objects are allowed in a box group."
910     1910      "Illegal printer driver recursion."
911     1911      "Localized product required for this environment."
912-998 1912-1998 "Unknown error code(s) 912-998."
999     1999      "Function not implemented." 

Additional query words: FoxDos 2.50 2.50a 2.50b undocumented


Keywords          : 
Version           : 
Platform          : 
Issue type        : 

Last Reviewed: July 27, 1999