Export (0) Print
Expand All

Extensible Storage Engine Error Codes

Windows

Last modified: January 09, 2012

Applies to: Windows | Windows Server

The following error codes (flags) are used by functions in the Extensible Storage Engine API.

A JET_ERR value of zero should be interpreted as success.

Success

Description

JET_errSuccess 0

The function succeeded.

A JET_ERR value that is greater than zero should be interpreted as a warning.

Warnings

Description

JET_wrnRemainingVersions
321

The version store is still active. This error is returned by the directory manager.

JET_wrnUniqueKey
345

A seek on a non-unique index yielded a unique key. This error is returned by the directory manager.

JET_wrnSeparateLongValue
406

A database column is a separated long value. This error is returned by the record manager.

JET_wrnExistingLogFileHasBadSignature
558

The existing log file has a bad signature.

JET_wrnExistingLogFileIsNotContiguous
559

The existing log file is not contiguous.

JET_wrnSkipThisRecord
564

This error is for internal use only.

JET_wrnTargetInstanceRunning
578

The TargetInstance specified for the restore is running.

JET_wrnDatabaseRepaired
595

The database corruption has been repaired.

JET_wrnColumnNull
1004

The column has a NULL value.

JET_wrnBufferTruncated
1006

The buffer is too small for the data.

JET_wrnDatabaseAttached
1007

The database is already attached.

JET_wrnSortOverflow
1009

The sort that is being attempted does not have enough memory to complete.

JET_wrnSeekNotEqual
1039

An exact match was not found during a seek.

JET_wrnRecordFoundGreater
JET_wrnSeekNotEqual

An exact match was not found during a seek. This error is returned by the record manager.

JET_wrnRecordFoundLess
JET_wrnSeekNotEqual

An exact match was not found during a seek. This error is returned by the record manager.

JET_wrnNoErrorInfo
1055

There is no extended error information.

JET_wrnNoIdleActivity
1058

No idle activity occurred.

JET_wrnNoWriteLock
1067

There is a no write lock at transaction level 0.

JET_wrnColumnSetNull
1068

The column is set to a NULL value.

JET_wrnTableEmpty
1301

An empty table was opened.

JET_wrnTableInUseBySystem
1327

The system cleanup has a cursor open on the table.

JET_wrnCorruptIndexDeleted
1415

The out-of-date index must be removed.

JET_wrnColumnMaxTruncated
1512

The Max length is too large and has been truncated.

JET_wrnCopyLongValue
1520

A BLOB value has been moved from the record into a separate storage of large BLOBs.

Note This error is for internal use only.

JET_wrnColumnSkipped
1531

The column values were not returned because the corresponding column ID or itagSequence member from the JET_ENUMCOLUMNVALUE structure that was requested for enumeration was null.

JET_wrnColumnNotLocal
1532

The column values were not returned because they could not be reconstructed from the existing data.

JET_wrnColumnMoreTags
1533

The existing column values were not requested for enumeration.

JET_wrnColumnTruncated
1534

The column value was truncated at the requested size limit during enumeration.

JET_wrnColumnPresent
1535

The column values exist but were not returned by the request.

JET_wrnColumnSingleValue
1536

The column value was returned in JET_COLUMNENUM as a result of the JET_bitEnumerateCompressOutput being set.

JET_wrnColumnDefault
1537

The column value is set to the default value of the column.

JET_wrnDataHasChanged
1610

The data has changed.

JET_wrnKeyChanged
1618

A new key is being used.

JET_wrnFileOpenReadOnly
1813

The database file is read only.

JET_wrnIdleFull
1908

The idle registry is full.

JET_wrnDefragAlreadyRunning
2000

There was an online defragmentation already running on the specified database.

JET_wrnDefragNotRunning
2001

An online defragmentation is not running on the specified database.

JET_wrnCallbackNotRegistered
2100

A non-existent callback function was unregistered.

A JET_ERR value that is less than zero should be interpreted as an error.

Errors

Description

JET_wrnNyi
-1

The function is not yet implemented.

JET_errRfsFailure
-100

The Resource Failure Simulator failed.

JET_errRfsNotArmed
-101

The Resource Failure Simulator has not been initialized.

JET_errFileClose
-102

The file could not be closed.

JET_errOutOfThreads
-103

The thread could not be started.

JET_errTooManyIO
-105

The system is busy due to too many IOs.

JET_errTaskDropped
-106

The requested asynchronous task could not be executed.

JET_errInternalError
-107

There was a fatal internal error.

JET_errDatabaseBufferDependenciesCorrupted
-255

The buffer dependencies were set improperly and there was a recovery failure.

JET_errPreviousVersion
-322

The version already existed and there was a recovery failure. This error is returned by the directory manager.

JET_errPageBoundary
-323

The page boundary has been reached. This error is returned by the directory manager.

JET_errKeyBoundary
-324

The key boundary has been reached. This error is returned by the directory manager.

JET_errBadPageLink
-327

The database is corrupt. This error is returned by the directory manager.

JET_errBadBookmark
-328

The bookmark has no corresponding address in the database. This error is returned by the directory manager.

JET_errNTSystemCallFailed
-334

The call to the operating system failed. This error is returned by the directory manager.

JET_errBadParentPageLink
-338

A parent database is corrupt. This error is returned by the directory manager.

JET_errSPAvailExtCacheOutOfSync
-340

The AvailExt cache does not match the B+ tree. This error is returned by the directory manager.

JET_errSPAvailExtCorrupted
-341

The AllAvailExt space tree is corrupt. This error is returned by the directory manager.

JET_errSPAvailExtCacheOutOfMemory
-342

An out of memory error occurred while allocating an AvailExt cache node. This error is returned by the directory manager.

JET_errSPOwnExtCorrupted
-343

The OwnExt space tree is corrupt. This error is returned by the directory manager.

JET_errDbTimeCorrupted
-344

The Dbtime on the current page is greater than the global database dbtime. This error is returned by the directory manager.

JET_errKeyTruncated
-346

An attempt to create a key for an index entry failed because the key would have been truncated and the index definition disallows key truncation.

JET_errKeyTooBig
-408

The key is too large. This error is returned by the record manager.

JET_errInvalidLoggedOperation
-500

The logged operation cannot be redone.

JET_errLogFileCorrupt
-501

The log file is corrupt.

JET_errNoBackupDirectory
-503

A backup directory was not given.

JET_errBackupDirectoryNotEmpty
-504

The backup directory is not empty.

JET_errBackupInProgress
-505

The backup is active already.

JET_errRestoreInProgress
-506

A restore is in progress.

JET_errMissingPreviousLogFile
-509

The log file is missing for the check point.

JET_errLogWriteFail
-510

There was a failure writing to the log file.

JET_errLogDisabledDueToRecoveryFailure
-511

The attempt to write to the log after recovery failed.

JET_errCannotLogDuringRecoveryRedo
-512

The attempt to write to the log during the recovery redo failed.

JET_errLogGenerationMismatch
-513

The name of of the log file does not match the internal generation number.

JET_errBadLogVersion
-514

The version of the log file is not compatible with the ESE version.

JET_errInvalidLogSequence
-515

The timestamp in the next log does not match the expected timestamp.

JET_errLoggingDisabled
-516

The log is not active.

JET_errLogBufferTooSmall
-517

The log buffer is too small for recovery.

JET_errLogSequenceEnd
-519

The maximum log file number has been exceeded.

JET_errNoBackup
-520

There is no backup in progress.

JET_errInvalidBackupSequence
-521

The backup call is out of sequence.

JET_errBackupNotAllowedYet
-523

A backup cannot be done at this time.

JET_errDeleteBackupFileFail
-524

A backup file could not be deleted.

JET_errMakeBackupDirectoryFail
-525

The backup temporary directory could not be created.

JET_errInvalidBackup
-526

Circular logging is enabled; an incremental backup cannot be performed.

JET_errRecoveredWithErrors
-527

The data was restored with errors.

JET_errMissingLogFile
-528

The current log file is missing.

JET_errLogDiskFull
-529

The log disk is full.

JET_errBadLogSignature
-530

There is a bad signature for a log file.

JET_errBadDbSignature
-531

There is a bad signature for a database file.

JET_errBadCheckpointSignature
-532

There is a bad signature for a checkpoint file.

JET_errCheckpointCorrupt
-533

The checkpoint file was not found or was corrupt.

JET_errMissingPatchPage
-534

The database patch file page was not found during recovery.

JET_errBadPatchPage
-535

The database patch file page is not valid.

JET_errRedoAbruptEnded
-536

The redo abruptly ended due to a sudden failure while reading logs from the log file.

JET_errBadSLVSignature
-537

This flag is reserved.

JET_errPatchFileMissing
-538

The hard restore detected that a database patch file is missing from the backup set.

JET_errDatabaseLogSetMismatch
-539

The database does not belong with the current set of log files.

JET_errDatabaseStreamingFileMismatch
-540

This flag is reserved.

JET_errLogFileSizeMismatch
-541

The actual log file size does not match JET_paramLogFileSize.

JET_errCheckpointFileNotFound
-542

The checkpoint file could not be located.

JET_errRequiredLogFilesMissing
-543

The required log files for recovery are missing.

JET_errSoftRecoveryOnBackupDatabase
-544

A soft recovery is about to be used on a backup database when a restore should be used instead.

JET_errLogFileSizeMismatchDatabasesConsistent
-545

The databases have been recovered, but the log file size used during recovery does not match JET_paramLogFileSize.

JET_errLogSectorSizeMismatch
-546

The log file sector size does not match the sector size of the current volume.

JET_errLogSectorSizeMismatchDatabasesConsistent
-547

The databases have been recovered, but the log file sector size (used during recovery) does not match the sector size of the current volume.

JET_errLogSequenceEndDatabasesConsistent
-548

The databases have been recovered, but all possible log generations in the current sequence have been used. All log files and the checkpoint file must be deleted and databases must be backed up before continuing.

JET_errStreamingDataNotLogged
-549

There was an illegal attempt to replay a streaming file operation where the data was not logged. This is probably caused by an attempt to rollforward with circular logging enabled.

JET_errDatabaseDirtyShutdown
-550

The database was not shutdown cleanly. A recovery must first be run to properly complete database operations for the previous shutdown.

JET_errDatabaseInconsistent
JET_errDatabaseDirtyShutdown

This error is obsolete and has been replaced by JET_errDatabaseDirtyShutdown.

JET_errConsistentTimeMismatch
-551

The last consistent time for the database has not been matched.

JET_errDatabasePatchFileMismatch
-552

The database patch file is not generated from this backup.

JET_errEndingRestoreLogTooLow
-553

The starting log number is too low for the restore.

JET_errStartingRestoreLogTooHigh
-554

The starting log number is too high for the restore.

JET_errGivenLogFileHasBadSignature
-555

The restore log file has a bad signature.

JET_errGivenLogFileIsNotContiguous
-556

The restore log file is not contiguous.

JET_errMissingRestoreLogFiles
-557

Some restore log files are missing.

JET_errMissingFullBackup
-560

The database missed a previous full backup before attempting to perform an incremental backup.

JET_errBadBackupDatabaseSize
-561

The backup database size is not a multiple of the database page size.

JET_errDatabaseAlreadyUpgraded
-562

The current attempt to upgrade a database has been stopped because the database is already current.

JET_errDatabaseIncompleteUpgrade
-563

The database was only partially converted to the current format. The database must be restored from backup.

JET_errMissingCurrentLogFiles
-565

Some current log files are missing for continuous restore.

JET_errDbTimeTooOld
-566

The dbtime on a page is smaller than the dbtimeBefore that is in the record.

JET_errDbTimeTooNew
-567

The dbtime on a page is in advance of the dbtimeBefore that is in the record.

JET_errMissingFileToBackup
-569

Some log or database patch files were missing during the backup.

JET_errLogTornWriteDuringHardRestore
-570

A torn write was detected in a backup that was set during a hard restore.

JET_errLogTornWriteDuringHardRecovery
-571

A torn write was detected during a hard recovery (the log was not part of a backup set).

JET_errLogCorruptDuringHardRestore
-573

Corruption was detected in a backup set during a hard restore.

JET_errLogCorruptDuringHardRecovery
-574

Corruption was detected during hard recovery (the log was not part of a backup set).

JET_errMustDisableLoggingForDbUpgrade
-575

Logging cannot be enabled while attempting to upgrade a database.

JET_errBadRestoreTargetInstance
-577

Either the TargetInstance that was specified for restore has not been found or the log files do not match.

JET_errRecoveredWithoutUndo
-579

The database engine successfully replayed all operations in the transaction log to perform a crash recovery but the caller elected to stop recovery without rolling back uncommitted updates.

JET_errDatabasesNotFromSameSnapshot
-580

The databases to be restored are not from the same shadow copy backup.

JET_errSoftRecoveryOnSnapshot
-581

There is a soft recovery on a database from a shadow copy backup set.

JET_errUnicodeTranslationBufferTooSmall
-601

The Unicode translation buffer is too small.

JET_errUnicodeTranslationFail
-602

The Unicode normalization failed.

JET_errUnicodeNormalizationNotSupported
-603

The operating system does not provide support for Unicode normalization and a normalization callback was not specified.

JET_errExistingLogFileHasBadSignature
-610

The existing log file has a bad signature.

JET_errExistingLogFileIsNotContiguous
-611

An existing log file is not contiguous.

JET_errLogReadVerifyFailure
-612

A checksum error was found in the log file during backup.

JET_errSLVReadVerifyFailure
-613

This flag is reserved.

JET_errCheckpointDepthTooDeep
-614

There are too many outstanding generations between the checkpoint and the current generation.

JET_errRestoreOfNonBackupDatabase
-615

A hard recovery was attempted on a database that was not a backup database.

JET_errInvalidGrbit
-900

There is an invalid grbit parameter.

JET_errTermInProgress
-1000

Termination is in progress.

JET_errFeatureNotAvailable
-1001

This API element is not supported.

JET_errInvalidName
-1002

An invalid name is being used.

JET_errInvalidParameter
-1003

An invalid API parameter is being used.

JET_errDatabaseFileReadOnly
-1008

There was an attempt to attach to a read-only database file for read/write operations.

JET_errInvalidDatabaseId
-1010

There is an invalid database ID.

JET_errOutOfMemory
-1011

The system is out of memory.

JET_errOutOfDatabaseSpace
-1012

The maximum database size has been reached.

JET_errOutOfCursors
-1013

The table is out of cursors.

JET_errOutOfBuffers
-1014

The database is out of page buffers.

JET_errTooManyIndexes
-1015

There are too many indexes.

JET_errTooManyKeys
-1016

There are too many columns in an index.

JET_errRecordDeleted
-1017

The record has been deleted.

JET_errReadVerifyFailure
-1018

There is a checksum error on a database page.

JET_errPageNotInitialized
-1019

There is a blank database page.

JET_errOutOfFileHandles
-1020

There are no file handles.

JET_errDiskIO
-1022

There is a disk IO error.

JET_errInvalidPath
-1023

There is an invalid file path.

JET_errInvalidSystemPath
-1024

There is an invalid system path.

JET_errInvalidLogDirectory
-1025

There is an invalid log directory.

JET_errRecordTooBig
-1026

The record is larger than maximum size.

JET_errTooManyOpenDatabases
-1027

There are too many open databases.

JET_errInvalidDatabase
-1028

This is not a database file.

JET_errNotInitialized
-1029

The database engine has not been initialized.

JET_errAlreadyInitialized
-1030

The database engine is already initialized.

JET_errInitInProgress
-1031

The database engine is being initialized.

JET_errFileAccessDenied
-1032

The file cannot be accessed because the file is locked or in use.

JET_errBufferTooSmall
-1038

The buffer is too small.

JET_errTooManyColumns
-1040

Too many columns are defined.

JET_errContainerNotEmpty
-1043

The container is not empty.

JET_errInvalidFilename
-1044

The filename is invalid.

JET_errInvalidBookmark
-1045

There is an invalid bookmark.

JET_errColumnInUse
-1046

The column used is in an index.

JET_errInvalidBufferSize
-1047

The data buffer does not match the column size.

JET_errColumnNotUpdatable
-1048

The column value cannot be set.

JET_errIndexInUse
-1051

The index is in use.

JET_errLinkNotSupported
-1052

The link support is unavailable.

JET_errNullKeyDisallowed
-1053

Null keys are not allowed on an index.

JET_errNotInTransaction
-1054

The operation must occur within a transaction.

JET_errTooManyActiveUsers
-1059

There are too many active database users

JET_errInvalidCountry
-1061

There is an invalid or unknown country code.

JET_errInvalidLanguageId
-1062

There is an invalid or unknown language ID.

JET_errInvalidCodePage
-1063

There is an invalid or unknown code page.

JET_errInvalidLCMapStringFlags
-1064

There are invalid flags being used for LCMapString.

JET_errVersionStoreEntryTooBig
-1065

There was an attempt to create a version store entry (RCE) that was larger than a version bucket.

JET_errVersionStoreOutOfMemoryAndCleanupTimedOut
-1066

The version store is out of memory and the cleanup attempt failed to complete.

JET_errVersionStoreOutOfMemory
-1069

The version store is out of memory and a cleanup was already attempted).

JET_errCannotIndex
-1071

The escrow and SLV columns cannot be indexed.

JET_errRecordNotDeleted
-1072

The record has not been deleted.

JET_errTooManyMempoolEntries
-1073

Too many mempool entries have been requested.

JET_errOutOfObjectIDs
-1074

The database is out of B+ tree ObjectIDs so an offline defragmentation must be performed to reclaim freed or unused ObjectIds.

JET_errOutOfLongValueIDs
-1075

The Long-value ID counter has reached the maximum value. An offline defragmentation must be performed to reclaim free or unused LongValueIDs.

JET_errOutOfAutoincrementValues
-1076

The auto-increment counter has reached the maximum value. An offline defragmentation will not be able to reclaim free or unused auto-increment values).

JET_errOutOfDbtimeValues
-1077

The Dbtime counter has reached the maximum value. An offline defragmentation must be performed to reclaim free or unused Dbtime values.

JET_errOutOfSequentialIndexValues
-1078

A sequential index counter has reached the maximum value. An offline defragmentation must be performed to reclaim free or unused SequentialIndex values.

JET_errRunningInOneInstanceMode
-1080

This multi-instance call has the single-instance mode enabled.

JET_errRunningInMultiInstanceMode
-1081

This single-instance call has the multi-instance mode enabled.

JET_errSystemParamsAlreadySet
-1082

The global system parameters have already been set.

JET_errSystemPathInUse
-1083

The system path is already being used by another database instance.

JET_errLogFilePathInUse
-1084

The log file path is already being used by another database instance.

JET_errTempPathInUse
-1085

The path to the temporary database is already being used by another database instance.

JET_errInstanceNameInUse
-1086

The instance name is already in use.

JET_errInstanceUnavailable
-1090

This instance cannot be used because it encountered a fatal error.

JET_errDatabaseUnavailable
-1091

This database cannot be used because it encountered a fatal error.

JET_errInstanceUnavailableDueToFatalLogDiskFull
-1092

This instance cannot be used because it encountered a log-disk-full error while performing an operation (such as a transaction rollback) that could not tolerate failure.

JET_errOutOfSessions
-1101

The database is out of sessions.

JET_errWriteConflict
-1102

The write lock failed due to the existence of an outstanding write lock.

JET_errTransTooDeep
-1103

The transactions are nested too deeply.

JET_errInvalidSesid
-1104

There is an invalid session handle.

JET_errWriteConflictPrimaryIndex
-1105

An update was attempted on an uncommitted primary index.

JET_errInTransaction
-1108

The operation is not allowed within a transaction.

JET_errRollbackRequired
-1109

The current transaction must be rolled back. It cannot be committed and a new one cannot be started.

JET_errTransReadOnly
-1110

A read-only transaction tried to modify the database.

JET_errSessionWriteConflict
-1111

There was an attempt to replace the same record by two different cursors in the same session.

JET_errRecordTooBigForBackwardCompatibility
-1112

The record would be too big if represented in a database format from a previous version of Jet.

JET_errCannotMaterializeForwardOnlySort
-1113

The temporary table could not be created due to parameters that conflict with JET_bitTTForwardOnly.

JET_errSesidTableIdMismatch
-1114

The session handle cannot be used with the table id because it was not used to create it.

JET_errInvalidInstance
-1115

The instance handle is invalid or refers to an instance that has been shut down.

JET_errDatabaseDuplicate
-1201

The database already exists.

JET_errDatabaseInUse
-1202

The database in use.

JET_errDatabaseNotFound
-1203

There is no such database.

JET_errDatabaseInvalidName
-1204

The database name is invalid.

JET_errDatabaseInvalidPages
-1205

There are an invalid number of pages.

JET_errDatabaseCorrupted
-1206

There is a non-database file or corrupt database.

JET_errDatabaseLocked
-1207

The database is exclusively locked.

JET_errCannotDisableVersioning
-1208

The versioning for this database cannot be disabled.

JET_errInvalidDatabaseVersion
-1209

The database engine is incompatible with the database.

JET_errDatabase200Format
-1210

The database is in an older (200) format. This error is returned by JetInit if JET_paramCheckFormatWhenOpenFail is set. Windows NT client only.

JET_errDatabase400Format
-1211

The database is in an older (400) format. This error is returned by JetInit if JET_paramCheckFormatWhenOpenFail is set. Windows NT client only.

JET_errDatabase500Format
-1212

The database is in an older (500) format. This error is returned by JetInit if JET_paramCheckFormatWhenOpenFail is set. Windows NT client only.

JET_errPageSizeMismatch
-1213

The database page size does not match the engine.

JET_errTooManyInstances
-1214

No more database instances can be started.

JET_errDatabaseSharingViolation
-1215

A different database instance is using this database.

JET_errAttachedDatabaseMismatch
-1216

An outstanding database attachment has been detected at the start or end of the recovery, but the database is missing or does not match attachment info.

JET_errDatabaseInvalidPath
-1217

The specified path to the database file is illegal.

JET_errDatabaseIdInUse
-1218

A database is being assigned an ID that is already in use.

JET_errForceDetachNotAllowed
-1219

The force detach is allowed only after the normal detach was stopped due to an error.

JET_errCatalogCorrupted
-1220

Corruption was detected in the catalog.

JET_errPartiallyAttachedDB
-1221

The database is only partially attached and the attach operation cannot be completed.

JET_errDatabaseSignInUse
-1222

The database with the same signature is already in use.

JET_errDatabaseCorruptedNoRepair
-1224

The database is corrupted but a repair is not allowed.

JET_errInvalidCreateDbVersion
-1225

The database engine attempted to replay a Create Database operation from the transaction log but failed due to an incompatible version of that operation.

JET_errTableLocked
-1302

The table is exclusively locked.

JET_errTableDuplicate
-1303

The table already exists.

JET_errTableInUse
-1304

The table is in use and cannot be locked.

JET_errObjectNotFound
-1305

There is no such table or object.

JET_errDensityInvalid
-1307

There is a bad file or index density.

JET_errTableNotEmpty
-1308

The table is not empty.

JET_errInvalidTableId
-1310

The table ID is invalid.

JET_errTooManyOpenTables
-1311

No more tables can be opened, even after the internal cleanup task has run.

JET_errIllegalOperation
-1312

The operation is not supported on the table.

JET_errTooManyOpenTablesAndCleanupTimedOut
-1313

No more tables can be opened because the cleanup attempt failed to complete.

JET_errObjectDuplicate
-1314

The table or object name is in use.

JET_errInvalidObject
-1316

The object is invalid for operation.

JET_errCannotDeleteTempTable
-1317

JetCloseTable must be used instead of JetDeleteTable to delete a temporary table.

JET_errCannotDeleteSystemTable
-1318

There was an illegal attempt to delete a system table.

JET_errCannotDeleteTemplateTable
-1319

There was an illegal attempt to delete a template table.

JET_errExclusiveTableLockRequired
-1322

There must be an exclusive lock on the table.

JET_errFixedDDL
-1323

DDL operations are prohibited on this table.

JET_errFixedInheritedDDL
-1324

On a derived table, DDL operations are prohibited on the inherited portion of the DDL.

JET_errCannotNestDDL
-1325

Nesting the hierarchical DDL is not currently supported.

JET_errDDLNotInheritable
-1326

There was an attempt to inherit a DDL from a table that is not marked as a template table.

JET_errInvalidSettings
-1328

The system parameters were set improperly.

JET_errClientRequestToStopJetService
-1329

The client has requested that the service be stopped.

JET_errCannotAddFixedVarColumnToDerivedTable
-1330

The Template table was created with the NoFixedVarColumnsInDerivedTables flag set.

JET_errIndexCantBuild
-1401

The index build failed.

JET_errIndexHasPrimary
-1402

The primary index is already defined.

JET_errIndexDuplicate
-1403

The index is already defined.

JET_errIndexNotFound
-1404

There is no such index.

JET_errIndexMustStay
-1405

The clustered index cannot be deleted.

JET_errIndexInvalidDef
-1406

The index definition is invalid.

JET_errInvalidCreateIndex
-1409

The creation of the index description was invalid.

JET_errTooManyOpenIndexes
-1410

The database is out of index description blocks.

JET_errMultiValuedIndexViolation
-1411

Non-unique inter-record index keys have been generated for a multi-valued index.

JET_errIndexBuildCorrupted
-1412

A secondary index that properly reflects the primary index failed to build.

JET_errPrimaryIndexCorrupted
-1413

The primary index is corrupt and the database must be defragmented.

JET_errSecondaryIndexCorrupted
-1414

The secondary index is corrupt and the database must be defragmented.

JET_errInvalidIndexId
-1416

The index ID is invalid.

JET_errIndexTuplesSecondaryIndexOnly
-1430

The tuple index can only be set on a secondary index.

JET_errIndexTuplesTooManyColumns
-1431

The index definition for the tuple index contains more key columns that the database engine can support.

Note  The JET_errIndexTuplesOneColumnOnly error is obsolete and has been replaced by JET_errIndexTuplesTooManyColumns.

JET_errIndexTuplesNonUniqueOnly
-1432

The tuple index must be a non-unique index.

JET_errIndexTuplesTextBinaryColumnsOnly
-1433

A tuple index definition can only contain key columns that have text or binary column types.

Note  The JET_errIndexTuplesTextColumnsOnly error is obsolete and has been replaced by JET_errIndexTuplesTextBinaryColumnsOnly.

JET_errIndexTuplesVarSegMacNotAllowed
-1434

The tuple index does not allow setting cbVarSegMac.

JET_errIndexTuplesInvalidLimits
-1435

The minimum/maximum tuple length or the maximum number of characters that are specified for an index are invalid.

JET_errIndexTuplesCannotRetrieveFromIndex
-1436

JetRetrieveColumn cannot be called with the JET_bitRetrieveFromIndex flag set while retrieving a column on a tuple index.

JET_errIndexTuplesKeyTooSmall
-1437

The specified key does not meet the minimum tuple length.

JET_errColumnLong
-1501

The column value is long.

JET_errColumnNoChunk
-1502

There is no such chunk in a long value.

JET_errColumnDoesNotFit
-1503

The field will not fit in the record.

JET_errNullInvalid
-1504

Null is not valid.

JET_errColumnIllegalNull
JET_errNullInvalid

Null is not valid. This error is returned by the record manager.

JET_errColumnIndexed -1505

The column is indexed and cannot be deleted.

JET_errColumnTooBig -1506

The field length is greater than maximum allowed length.

JET_errColumnNotFound -1507

There is no such column.

JET_errColumnDuplicate -1508

This field is already defined.

JET_errMultiValuedColumnMustBeTagged -1509

An attempt was made to create a multi-valued column, but the column was not tagged.

JET_errColumnRedundant -1510

There was a second auto-increment or version column.

JET_errInvalidColumnType -1511

The column data type is invalid.

JET_errTaggedNotNULL -1514

There are no non-NULL tagged columns.

JET_errNoCurrentIndex -1515

The database is invalid because it does not contain a current index.

JET_errKeyIsMade -1516

The key is completely made.

JET_errBadColumnId -1517

The column ID is incorrect.

JET_errBadItagSequence -1518

There is a bad itagSequence for the tagged column.

JET_errColumnInRelationship -1519

A column cannot be deleted because it is part of a relationship.

JET_errCannotBeTagged -1521

The auto increment and version cannot be tagged.

JET_errDefaultValueTooBig -1524

The default value exceeds the maximum size.

JET_errMultiValuedDuplicate -1525

A duplicate value was detected on a unique multi-valued column.

JET_errLVCorrupted -1526

Corruption was encountered in a long-value tree.

JET_errMultiValuedDuplicateAfterTruncation -1528

A duplicate value was detected on a unique multi-valued column after the data was normalized, and it is normalizing truncated the data before comparison.

JET_errDerivedColumnCorruption -1529

There is an invalid column in derived table.

JET_errInvalidPlaceholderColumn -1530

An attempt was made to convert a column to a primary index placeholder, but the column does not meet the necessary criteria.

JET_errRecordNotFound -1601

The key was not found.

JET_errRecordNoCopy -1602

There is no working buffer.

JET_errNoCurrentRecord -1603

There is no current record.

JET_errRecordPrimaryChanged -1604

The primary key might not change.

JET_errKeyDuplicate -1605

There is an illegal duplicate key.

JET_errAlreadyPrepared -1607

An attempt was made to update a record while a record update was already in progress.

JET_errKeyNotMade -1608

A call was not made to JetMakeKey.

JET_errUpdateNotPrepared -1609

A call was not made to JetPrepareUpdate.

JET_errDataHasChanged -1611

The data has changed and the operation was aborted.

JET_errLanguageNotSupported -1619

This Windows installation does not support the selected language.

JET_errTooManySorts -1701

There are too many sort processes.

JET_errInvalidOnSort -1702

An invalid operation occurred during a sort.

JET_errTempFileOpenError -1803

The temporary file could not be opened.

JET_errTooManyAttachedDatabases -1805

Too many databases are open.

JET_errDiskFull -1808

There is no space left on disk.

JET_errPermissionDenied -1809

Permission is denied.

JET_errFileNotFound -1811

The file was not found.

JET_errFileInvalidType -1812

The file type is invalid.

JET_errAfterInitialization -1850

A restore cannot be started after initialization.

JET_errLogCorrupted -1852

The logs could not be interpreted.

JET_errInvalidOperation -1906

The operation is invalid.

JET_errAccessDenied -1907

Access is denied.

JET_errTooManySplits -1909

An infinite split.

JET_errSessionSharingViolation -1910

Multiple threads are using the same session.

JET_errEntryPointNotFound -1911

An entry point in a required DLL could not be found.

JET_errSessionContextAlreadySet -1912

The specified session already has a session context set.

JET_errSessionContextNotSetByThisThread -1913

An attempt was made to reset the session context, but the current thread was not the original one that set the session context.

JET_errSessionInUse -1914

An attempt was made to terminate the session currently in use.

JET_errRecordFormatConversionFailed -1915

An internal error occurred during a dynamic record format conversion.

JET_errOneDatabasePerSession -1916

Only one open user database per session is allowed (as indicated by setting the JET_paramOneDatabasePerSession flag during database creation).

JET_errRollbackError -1917

There was an error during rollback.

JET_errCallbackFailed -2101

A callback function call failed.

JET_errCallbackNotResolved -2102

A callback function could not be found.

JET_errOSSnapshotInvalidSequence -2401

The operating system shadow copy API was used in an invalid sequence.

JET_errOSSnapshotTimeOut -2402

The operating system shadow copy ended with a time-out.

JET_errOSSnapshotNotAllowed -2403

The operating system shadow copy is not allowed because a backup or recovery in is progress.

JET_errOSSnapshotInvalidSnapId -2404

The operation failed because the specified operating system shadow copy handle was invalid.

JET_errLSCallbackNotSpecified -3000

An attempt was made to use local storage without a callback function being specified.

JET_errLSAlreadySet -3001

An attempt was made to set the local storage for an object which already had it set.

JET_errLSNotSet -3002

An attempt was made to retrieve local storage from an object which did not have it set.

JET_errFileIOSparse -4000

An I/O operation failed because it was attempted against an unallocated region of a file.

JET_errFileIOBeyondEOF -4001

A read was issued to a location beyond the EOF (writes will expand the file).

JET_errFileIOAbort -4002

This flag instructs the JET_ABORTRETRYFAILCALLBACK caller to abort the specified I/O.

JET_errFileIORetry -4003

This flag instructs the JET_ABORTRETRYFAILCALLBACK caller to retry the specified I/O.

JET_errFileIOFail -4004

This flag instructs the JET_ABORTRETRYFAILCALLBACK caller to fail the specified I/O.

JET_errFileCompressed -4005

Read/write access is not supported on compressed files.

Remarks

In general, a value that is greater than zero should be interpreted as a warning, a value of zero should be interpreted as success, and a value that is less than zero should be interpreted as an error. No other patterns in these values, such as ranges of values, should be relied upon by an application.

Requirements

Client

Requires Windows Vista, Windows XP, or Windows 2000 Professional.

Server

Requires Windows Server 2008, Windows Server 2003, or Windows 2000 Server.

Header

Declared in Esent.h.

See Also

Show:
© 2014 Microsoft