4D v16.3

Database Engine Errors (-10602 -> 4004)

Home

 
4D v16.3
Database Engine Errors (-10602 -> 4004)

Database Engine Errors (-10602 -> 4004)  


 

 

This table lists the error codes generated by the 4D Database Engine. These codes cover errors that occur at a low level of the database engine, such as user interruption, privilege errors, and damaged objects.

CodeDescription
-10602Can't execute the given command because there is no open print job.
-10601The OBJECT DUPLICATE command does not work during printing operations.
-10600This BLOB could not be read. It may be damaged.
-10532Cannot call error handling project method 'methodName.
-10526Can't create database {database_name}.
-10525Can't delete existing database {database_name}.
-10524Can't open database {database_name}: current data file not found at last known location: '{datafile_path}'.
-10523Can't open database {database_name}: current data file is not defined.
-10522Can't load component {database_name} because it's not in Unicode mode.
-10521Can't open database {database_name} because it's not in Unicode mode.
-10520Unauthorized user: Only an Administrator or Designer can execute this command.
-10519Bad url: {url}
-10518Assert failed: {assertion}
-10517Failed to synchronize {folder_name} folder.
-10516The server is running a maintenance operation, please reconnect later.
-10515Your attempt to connect to 4D Server has been denied
-10514The maximum number of concurrent users for your license has been reached
-10513Can't call {command_name} command from a remote 4D Developer.
-10512The encoding is not supported
-10511Can't call command "{command_name}" from a component.
-10510Can't load component "{component_name}".
-10509Can't open database "{database_name}".
-10508Project method not found.
-10507This version does not allow a compiled database to be opened.
-10506Limit of the Standard Edition version.
-10505Client and server have version numbers that are incompatible.
-10504Index page # is out of range (index needs to be repaired).
-10503Record # is out of range (during GOTO RECORD, or data file needs to be repaired). (see note 3)
-10502Invalid record structure (data file needs to be repaired).
-10501Invalid index page (index needs to be repaired).
-10500Invalid record address (database needs to be repaired).
-9999No more room to save the record. (see note 4)
-9998Duplicated key.
-9997Maximum number of records has been reached.
-9996Stack is full (too much recursion or nested calls).
-9995Demo limit has been reached.
-9994Serial communication interrupted by the user—user pressed Ctrl-Alt-Shift (Windows) or Command-Option-Shift (Mac OS).
-9993Menu bar is damaged (database needs to be repaired).
-9992Wrong password.
-9991Privileges error.
-9990Time-out error.
-9989Invalid structure (database needs to be repaired).
-9988The form cannot be loaded. Either the form or the structure is damaged.
-9987Some other records are already related to this record.
-9986Record locked during an automatic deletion action.
-9985Recursive integrity.
-9984Transaction has been cancelled because of a duplicated index key error.
-9983The same external package is installed twice.
-9982The record was not loaded because it is not in the selection on the workstation.
-9981Invalid field name/field number definition table sent by the workstation.
-9980The file cannot be created because the structure is locked.
-9979Unknown user.
-9978Bad user password.
-9977The selection does not exist.
-9976Backup in progress; no modification allowed.
-9975Transaction index page could not be loaded.
-9974Record has already been deleted.
-9973The TRIC resources are not the same.
-9972Table number is out of range requested by workstation.
-9971Field number is out of range requested by workstation.
-9970Field is not indexed.
-9969Invalid field type requested by workstation.
-9968Invalid selected record number requested by workstation.
-9967The record could not be modified because it could not be loaded.
-9966Invalid type requested by a workstation.
-9965Bad search definition table sent by a workstation.
-9964Bad sort definition table sent by a workstation.
-9963Invalid record number requested by a workstation.
-9962The backup cannot be run because the server is shutting down.
-9961The backup process is not currently running.
-99604D Backup is not installed on the server.
-9959The backup process has already been started by another user or process.
-9958The process could not be started.
-9957The choice list is locked.
-9956Versions of 4D Client and 4D Server are different.
-9955QuickTime is not installed.
-9954There is no current record.
-9953There is no Log file.
-9952Invalid data segment header.
-9951This field has no relation.
-9950Invalid data segment number.
-9949License or privilege error.
-9948A modal dialog is activated.
-9947The “Allow 4D Open connections” check box has not been selected.
-9946Unable to clear the named selection because it does not exist.
-9945CD-ROM 4D Runtime error; writing operations are not allowed.
-9944The user does not belong to the 4D Open access group.
-99434D Connectivity Plug-ins version error.
-99424D Client licensing scheme is incompatible with this version of 4D Server.
-9941Unknown EX_GESTALT selector.
-99404D Extension initialization failed.
-9939External routine not found.
-9938The current record has been changed from within the trigger.
-9937Password System is locked by another user.
-9936External password code does not match to the database one
-9935The XML file is not valid or is not well-formed.
-9934The XML file is not well-formed.
-9933The XML file is not valid.
-9932The XML DLL is not loaded.
-9931The index for this attribute is invalid.
-9930There is no attribute with this name for this element.
-9929The index for this element is invalid.
-9928The name of the element is unknown.
-9927The referenced element is not the “root”.
-9926The referenced element is invalid.
-9925The referenced element is null.
-9924The file must be opened in read only
-9923The attribute name is not valid
-9922Missing the parameter value in the attributes definition
-9921Attempt to write a XML Prolog on a non-empty document
-9920The type of the node is invalid
-9919This encoding is not supported.
-9918The name of the element is invalid.
-9917The type of the array passed in parameter is invalid.
-9916The element is not open.
-9915The document's reference is invalid.
-9914Internal fault.
-9913Network fault.
-9912HTTP fault.
-9911Parser fault.
-9910Soap fault.
-9909No window available to run the form.
-9855Invalid parameter number 5.
-9854Invalid parameter number 4.
-9853Invalid parameter number 3.
-9852Invalid parameter number 2.
-9851Invalid parameter number 1.
-9850Invalid area parameter passed to an external command.
-9803Unnamed object found in the form "{form}".
-9802Object path not unique: {path}. Verify the application with the MSC.
-9801Unable to open the method: {path}
-9800One of the processes modified the access rights.
-9799Error during preview initialization.
-9778An error occurred while loading the dictionary
-9777The method language does not match the application localization: {path}
-9776Unable to create method: {path}
-9775Unable to write method code: {path}
-9774Unable to read method code: {path}
-9773Unable to write method comments: {path}
-9772Unable to read method comments: {path}
-9771Unable to write method properties: {path}
-9770Unable to read method properties: {path}
-9769Invalid method property: {path}
-9768Invalid object path: {path}
-9767Cannot update methods. One or more resources are locked.
-9766The method is currently being edited.
-9765One or more comments are currently being edited.
-9764The comment is currently being edited.
-9763The command cannot be executed in a component.
-9762The command cannot be executed in a compiled database.
-9761Invalid object type.
-9760It is not possible to move or copy the XML node to the specified position.
-9759The Object Library could not be opened.
-9758The user form already exists.
-9757The user form does not exist.
-9756There is no user structure file.
-9755The user form does not have a name.
-9754This command cannot be used from a dialog window.
-9753The source form does not exist.
-9752The user form cannot be created.
-9751The source form is not accessible by the user.
-9750The source form is not editable.
-1Invalid table number requested by a Plug-In
1001No column to import in table {TableName}
1002Wrong table to import
1003No column to export in table {TableName}
1004Wrong table to export
1006Program interrupted by user—user pressed Alt-click (Windows) or Option-click (Mac OS)
1006Cannot save structure of database {BaseName}
1007Cannot create data file of database: {BaseName}
1008Wrong data segment in database {BaseName}
1009Memory is full
1010Cannot load a table definition of database {BaseName}
1011Cannot open data file of database {BaseName}
1012Data segment is full in database: {BaseName}
1013Cannot save data segment in database {BaseName}
1014Cannot read data segment of database {BaseName}
1015Wrong database header in database {BaseName}
1016Cannot create table in database {BaseName}
1017Cannot read index list of database {BaseName}
1018Cannot write index list of database {BaseName}
1019Wrong table reference in database {BaseName}
1020Wrong field reference in database {BaseName}
1021Invalid index type in database {BaseName}
1022Invalid field name in table {TableName} of database {BaseName}
1023Invalid database name
1024Cannot open structure of database {BaseName}
1025Cannot create structure of database {BaseName}
1026Cannot load bit selection of database {BaseName}
1027Cannot load set of database {BaseName}
1028Cannot modify set of database {BaseName}
1029Cannot save set of database {BaseName}
1030Cannot save BLOB {BlobNum} in table {TableName} of database {BaseName}
1031Cannot load BLOB {BlobNum} in table {TableName} of database {BaseName}
1032Cannot allocate BLOB {BlobNum} in table {TableName} of database {BaseName}
1033Cannot load data bit table of database {BaseName}
1034Cannot save data bit table of database {BaseName}
1035Cannot load table of data bit tables of database {BaseName}
1036Cannot save table of data bit tables in database {BaseName}
1037Cannot close data segment of database {BaseName}
1038Cannot delete data segment of database {BaseName}
1039Cannot open data segment of database {BaseName}
1040Cannot create data segment of database {BaseName}
1041Cannot allocate space in data segment
1042Cannot free space in data segment of database {BaseName}
1043File is write protected
1044Cannot access field in record {RecNum} in table {TableName} of database {BaseName}
1045Field definition code is missing in record {RecNum} in table {TableName} of database {BaseName}
1046Cannot save record {RecNum} in table {TableName} of database {BaseName}
1047Cannot load record {RecNum} in table {TableName} of database {BaseName}
1048Cannot allocate record in table {TableName} of database {BaseName}
1049Cannot update record {RecNum} in table {TableName} of database {BaseName}
1050Wrong header for record {RecNum} in table {TableName} of database {BaseName}
1051Cannot save definition of table {TableName} of database {BaseName}
1052Cannot update definition of table {TableName} of database {BaseName}
1053Field name already exists
1055Cannot update index values while saving a record in table {TableName} of database {BaseName}
1056Cannot update BLOBs while saving a record in table {TableName} of database {BaseName}
1057Cannot delete BLOBs while saving or deleting a record in table {TableName} of database {BaseName}
1058Cannot add field in table {TableName} of database {BaseName}
1059Cannot allocate table in memory
1061Cannot allocate record in memory
1062Cannot completely delete table {TableName} of database {BaseName}
1063Cannot lock record {RecNum} in table {TableName} of database {BaseName}
1064Cannot unlock record {RecNum} in table {TableName} of database {BaseName}
1065Cannot delete record {RecNum} in table {TableName} of database {BaseName}
1066Record {RecNum} is locked in table {TableName} of database {BaseName}
1067Sequential search could not be completed in table {TableName} of database {BaseName}<
1068Cannot save header for table {TableName} of database {BaseName}<
1069Cannot import data in table {TableName} of database {BaseName}
1070Cannot load index header of database {BaseName}
1071Cannot save header for index {IndexName} of database {BaseName}
1072Cannot get page address for index {IndexName} of database {BaseName}
1073Cannot set page address for index {IndexName} of database {BaseName}
1074Cannot drop index {IndexName} of database {BaseName}
1075Cannot sort index {IndexName} of database {BaseName}
1076Cannot load page for index {IndexName} of database {BaseName}
1077Cannot save page for index {IndexName} of database {BaseName}
1078Cannot insert key into index {IndexName} of database {BaseName}
1079Cannot delete key from index {IndexName} of database {BaseName}
1080Cannot completely delete index {IndexName} of database {BaseName}
1081Cannot complete scan on index {IndexName} of database {BaseName}
1082Cannot complete sort of index {IndexName} of database {BaseName}
1083Cannot insert key into page of index {IndexName} of database {BaseName}
1084Cannot delete key from page of index {IndexName} of database {BaseName}
1085Cannot load index cluster of database {BaseName}
1086Cannot add to index cluster of database {BaseName}
1087Cannot delete from index cluster of database {BaseName}
1088Index {IndexName} is invalid
1089SQL syntax error (Obsolete)
1090SQL token not found (Obsolete)
1091Not implemented
1092Cannot register code
1093Operation in progress cancelled by user
1094Transaction conflict
1095Invalid table name in database {BaseName}
1096Table {TableName} is locked in database {BaseName}
1097Database {BaseName} is locked
1098Data address is invalid in database {BaseName}
1099Record is empty
1100Wrong source field
1101Wrong destination field
1102Invalid relation name
1103Field types do not match
1104Relation is empty<
1105Cannot load relations list from database {BaseName}
1106Cannot save relations list into database {BaseName}
1107Query and lock not completed; at least one record locked somewhere else
1108Invalid record
1109Wrong record ID
1110Relation already exists in database {BaseName}
1111Index already exists in database {BaseName}
1112Wrong comparison operator
1113End of data buffer
1114Wrong DB4D version number
1115Duplicated key
1116Mandatory field is Null in record {RecNum} in table {TableName}
1117Cannot set field to mandatory for table {TableName}
1118Cannot get exclusive access to table {TableName}
1119Cannot check referential integrity of table {TableName}
1120Reference integrity: some foreign keys still exist matching primary key on record {RecNum} in table {TableName}
1121Cannot delete all records in selection of table {TableName}
1122BLOB is Null
1123Invalid database context
1124Invalid relation reference
1125Invalid record name in table {TableName}
1126Wrong field type
1127Cannot load extra properties
1128Cannot save extra properties
1129Subrecord ID is out of range
1130Duplicate name for index {IndexName} in database {BaseName}
1131Invalid name for index {IndexName} in database {BaseName}
1132Wrong key value on index {IndexName}
1133Wrong type for index {IndexName}
1134Invalid accessor
1135Accessor is read only
1136Null value not accepted
1137THIS is Null
1138Selection is Null
1139Database {BaseName} is write protected
1140Database {BaseName} is closing
1141Invalid transaction
1142Array limit is exceeded
1143Creator of array values is missing
1144Cannot build selection of table {TableName}
1145Busy object
1146Data file does not match structure file
1147Cannot start listener
1148Cannot start server
1149No listener
1150Task is dying
1151Invalid request tag
1152Invalid context ID
1153Not enough temporary space on disk
1154Data set is Null
1155No primary key matching the foreign key
1156Type of field {FieldName} of table {TableName} does not support being set to Unique
1157Type of field {FieldName} of table {TableName} does not support being set to NEVER NULL
1158Cannot alter primary key definition of table {TableName}
1159Maximum number of records has been reached for table {TableName}
1160Maximum number of BLOBs has been reached for table {TableName}
1161Indice is out of range
1162Query is invalid
1163Record is NULL
1164Object is NULL
1165Wrong owner for this object
1166Object was not locked
1167Object is locked by another context
1168Internal error on remote connection
1169Invalid table number
1170Invalid field number
1171Invalid Database ID
1172Invalid Parameter
1173Cache Flushing did not complete
1174Data Flushing did not complete
1175Structure Flushing did not complete
1176Log file is invalid for database {BaseName}
1177Log file cannot be found for database {BaseName}
1178Last operation in log file doest not match the one in database {BaseName}
1179Log file does not match database {BaseName}
1180Data Table has been deleted
1181Keys are not unique in index {IndexName}
1182Cannot create log file for database {DataBase}
1183Cannot write into log file of database {DataBase}
1184Cannot drop table {TableName} in database {DataBase}
1185Remote database cannot be opened<
1186Log file cannot be integrated into database {DataBase}
1187Internal Computation on Set cannot be completed
1188Array cannot be saved
1189Array cannot be loaded
1190Sequence number header cannot be loaded
1191Cannot select record
1192Record cannot be created
1193Cannot complete selection to array in table {TableName} of database {BaseName}
1194Cannot complete array to selection in table {TableName} of database {BaseName}
1195Cannot complete sequential sort
1196Selection cannot be locked
1197Index key cannot be loaded
1198Index key cannot be saved
1199Index key cannot be built
1200Query cannot be completed
1201Query cannot be analyzed
1202Formula could not be processed on this column
1203Query could not be completed
1204Query could not be analyzed
1205Could not get all distinct values of table {TableName} of database {BaseName}
1206Cannot build array of values in table {TableName} of database {BaseName}
1207Selection cannot be loaded
1208Cannot send data
1209Cannot receive request reply
1210Cannot send request
1211Cannot create connection
1212Index {IndexName} cannot be quickly created in database {BaseName}
1213Cannot build distinct index keys
1214Selection cannot be sorted in table {TableName} of database {BaseName}
1215Address table cannot loaded
1216Address table cannot modified
1217Cannot allocate new entry into address table
1218Cannot allocate free entry from address table
1219Transaction temporary record cannot be saved
1220Transaction temporary blob cannot be saved
1221Transaction temporary record cannot be loaded
1222Transaction temporary blob cannot be loaded
1223Transaction cannot be started
1224Transaction cannot be committed
1225Cannot get extra property
1226Cannot set extra property
1227Table name is already used
1228Cannot get list of NULL keys from index {IndexName}
1229Cannot modify list of NULL keys of index {IndexName}
1230Invalid key for index {IndexName}
1231Cannot set log file
1232Context is NULL
1233Database {BaseName} cannot be locked
1234Wrong field reference in record# {RecNum} of table: {TableName} of database: {BaseName}
1235Wrong field reference in table: {TableName} of database: {BaseName}
1236Cannot read data from temporary transaction file
1237Cartesian Product failed
1238Cannot merge selections
1239The format of the {BaseName} database cannot be upgraded in read only mode
1240Wrong Header
1241Wrong CheckSum
1243Cannot load data tables of database: {BaseName}
1244The list of foreign key constraints is not empty for table: {TableName} of database: {BaseName}
1245Address entry is not empty
1246Cannot pre-allocate address
1247Cannot update new record in table {TableName} of database {BaseName}
1248Cannot save new record in table {TableName} of database {BaseName}
1249Cannot save subrecord
1250Cannot save record
1251Cannot lock structure object definition
1252Cannot unlock structure object definition
1253Invalid relation number
1254Circular Reference in records address table of table {TableName} of database {BaseName}
1255Circular Reference in blobs address table of table {TableName} of database {BaseName}
1256Duplicated Schema Name in database {BaseName}
1257Schema cannot be saved in database {BaseName}
1258Schema cannot be deleted in database {BaseName}
1259Schema cannot be renamed in database {BaseName}
1260Selected log file is too recent for database {BaseName}
1261Selected log file is too old for database {BaseName}
1262Some DataTables do not have matching table definitions for database {BaseName}
1263Given stamp does not match current one for record# {RecNum} of table {TableName}
1264A primary key is needed and missing in table {TableName}
1265Invalid field
1266Unknown field type (this version of 4D is perhaps too old)
1267Stack Overflow
1268DataTable cannot be rebuilt for database {BaseName}
1269DataTable cannot be found
1270Missing structure could not be rebuilt
1271Invalid REST request handler
1272Some records are still locked in table {tableName} in database {BaseName}
1273Cannot drop table {TableName} in database {BaseName}
1274The current journal file of database {BaseName} is not available. For data security reasons, write operations are stopped. Please contact your administrator as soon as possible.
1275"(" is missing at the beginning of the Javascript statement in this query.
1276Datastream has an invalid header.
1277The database journal integration failed at entry# {p1}.
1278Javascript code not allowed in the query.
1300Invalid Selection Type
1301Array is too big
1302Array size does not match
1303Invalid Selection ID
1304Invalid Selection Part
4001Invalid table number requested by a Plug-In
4002Invalid record number requested by a Plug-In
4003Invalid field number requested by a Plug-In
4004Access to a table's current record requested by a Plug-in while there is no current record

Notes

  1. While some of the errors listed reflect serious problems, i.e., -10502 Invalid record structure (data file needs to be repaired), other errors may occur on a regular basis and can be managed using an ON ERR CALL project method. For example, it is common to handle the error –9998 Duplicated key if your application offers opportunities to create duplicated values for a table that includes an indexed field whose Unique property is set.
  2. Some of the errors listed never occur at the 4D language level. They can occur and be handled at a low level by database engine routines or when using 4D Backup or 4D Open.
  3. The error -10503 Record # is out of range generally means that your code (for example, the GOTO RECORD command) is attempting to access a record that no longer exists (or has never existed). In certain more unusual cases, this error may mean that the database needs repairing.
  4. The error -9999 No more room to save the record occurs when the data file of your database is full or located on a full volume. This error can also be generated if the data file is locked or located on a locked volume.



See also 

ON ERR CALL

 
PROPERTIES 

Product: 4D
Theme: Error Codes

 
HISTORY 

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)