Click or drag to resize
Xcalibur Systems LLC Logo

ErrorMessages Enumeration

The System Error Codes are very broad. Each one can occur in one of many hundreds of locations in the system. Consequently the descriptions of these codes cannot be very specific. Use of these codes requires some amount of investigation and analysis. You need to note both the programmatic and the run-time context in which these errors occur. Because these codes are defined in WinError.h for anyone to use, sometimes the codes are returned by non-system software. Sometimes the code is returned by a function deep in the stack and far removed from your code that is handling the error.

System Error Codes


Namespace: Xcalibur.NativeMethods.V2
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[FlagsAttribute]
public enum ErrorMessages
Members
Member nameValueDescription
Success0 The operation completed successfully.
InvalidFunction1 Incorrect function.
FileNotFound2 The system cannot find the file specified.
PathNotFound3 The system cannot find the path specified.
TooManyOpenFiles4 The system cannot open the file.
AccessDenied5 Access is denied.
InvalidHandle6 The handle is invalid.
ArenaTrashed7 The storage control blocks were destroyed.
NotEnoughMemory8 Not enough storage is available to process this command.
InvalidBlock9 The storage control block address is invalid.
BadEnvironment10 The environment is incorrect.
BadFormat11 An attempt was made to load a program with an incorrect format.
InvalidAccess12 The access code is invalid.
InvalidData13 The data is invalid.
OutOfMemory14 Not enough storage is available to complete this operation.
InvalidDrive15 The system cannot find the drive specified.
CurrentDirectory16 The directory cannot be removed.
NotSameDevice17 The system cannot move the file to a different disk drive.
NoMoreFiles18 There are no more files.
WriteProtect19 The media is write protected.
BadUnit20 The system cannot find the device specified.
NotReady21 The device is not ready.
BadCommand22 The device does not recognize the command.
Crc23 Data error (cyclic redundancy check).
BadLength24 The program issued a command but the command length is incorrect.
Seek25 The drive cannot locate a specific area or track on the disk.
NotDosDisk26 The specified disk or diskette cannot be accessed.
SectorNotFound27 The drive cannot find the sector requested.
OutOfPaper28 The printer is out of paper.
WriteFault29 The system cannot write to the specified device.
ReadFault30 The system cannot read from the specified device.
GenFailure31 A device attached to the system is not functioning.
SharingViolation32 The process cannot access the file because it is being used by another process.
LockViolation33 The process cannot access the file because another process has locked a portion of the file.
WrongDisk34 The wrong diskette is in the drive. Insert %2 (Volume Serial Number: %3) into drive %1.
SharingBufferExceeded36 Too many files opened for sharing.
HandleEof38 Reached the end of the file.
HandleDiskFull39 The disk is full.
NotSupported50 The request is not supported.
RemNotList51 Windows cannot find the network path. Verify that the network path is correct and the destination computer is not busy or turned off. If Windows still cannot find the network path, contact your network administrator.
DupName52 You were not connected because a duplicate name exists on the network. If joining a domain, go to System in Control Panel to change the computer name and try again. If joining a workgroup, choose another workgroup name.
BadNetpath53 The network path was not found.
NetworkBusy54 The network is busy.
DevNotExist55 The specified network resource or device is no longer available.
TooManyCmds56 The specified network resource or device is no longer available.
AdapHdwErr57 A network adapter hardware error occurred.
BadNetResp58 The specified server cannot perform the requested operation.
UnexpNetErr59 An unexpected network error occurred.
BadRemAdap60 The remote adapter is not compatible.
PrintQFull61 The printer queue is full.
NoSpoolSpace62 Space to store the file waiting to be printed is not available on the server.
PrintCancelled63 Your file waiting to be printed was deleted.
NetNameDeleted64 The specified network name is no longer available.
NetworkAccessDenied65 Network access is denied.
BadDevType66 The network resource type is not correct.
BadNetName67 The network name cannot be found.
TooManyNames68 The name limit for the local computer network adapter card was exceeded.
TooManySess69The network BIOS session limit was exceeded.The too many sess
SharingPaused70 The remote server has been paused or is in the process of being started.
ReqNotAccep71 No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.
RedirPaused72 The specified printer or disk device has been paused.
FileExists80 The file exists.
CannotMake82 The directory or file cannot be created.
FailI2483 Fail on INT 24.
OutOfStructures84 Storage to process this request is not available.
AlreadyAssigned85 The local device name is already in use.
InvalidPassword86 The specified network password is not correct.
InvalidParameter87 The parameter is incorrect.
NetWriteFault88 A write fault occurred on the network.
NoProcSlots89 The system cannot start another process at this time.
TooManySemaphores100 Cannot create another system semaphore.
ExclSemAlreadyOwned101 The exclusive semaphore is owned by another process.
SemIsSet102 The semaphore is set and cannot be closed.
TooManySemRequests103 The semaphore cannot be set again.
InvalidAtInterruptTime104 Cannot request exclusive semaphores at interrupt time.
SemOwnerDied105 The previous ownership of this semaphore has ended.
SemUserLimit106 Insert the diskette for drive %1.
DiskChange107 The program stopped because an alternate diskette was not inserted.
DriveLocked108 The disk is in use or locked by another process.
BrokenPipe109 The pipe has been ended.
OpenFailed110 The system cannot open the device or file specified.
BufferOverflow111 The file name is too long.
DiskFull112 There is not enough space on the disk.
NoMoreSearchHandles113 No more internal file identifiers available.
InvalidTargetHandle114 The target internal file identifier is incorrect.
InvalidCategory117 The IOCTL call made by the application program is not correct.
InvalidVerifySwitch118 The verify-on-write switch parameter value is not correct.
BadDriverLevel119 The system does not support the command requested.
CallNotImplemented120 This function is not supported on this system.
SemTimeout121 The semaphore timeout period has expired.
InsufficientBuffer122 The data area passed to a system call is too small.
InvalidName123 The filename, directory name, or volume label syntax is incorrect.
InvalidLevel124 The system call level is not correct.
NoVolumeLabel125 The disk has no volume label.
ModNotFound126 The specified module could not be found.
ProcNotFound127 The specified procedure could not be found.
WaitNoChildren128 There are no child processes to wait for.
ChildNotComplete129 The %1 application cannot be run in Win32 mode.
DirectAccessHandle130 Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.
NegativeSeek131 An attempt was made to move the file pointer before the beginning of the file.
SeekOnDevice132 The file pointer cannot be set on the specified device or file.
IsJoinTarget133 A JOIN or SUBST command cannot be used for a drive that contains previously joined drives.
IsJoined134 An attempt was made to use a JOIN or SUBST command on a drive that has already been joined.
IsSubsted135 An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted.
NotJoined136 The system tried to delete the JOIN of a drive that is not joined.
NotSubsted137 The system tried to delete the substitution of a drive that is not substituted.
JoinToJoin138 The system tried to join a drive to a directory on a joined drive.
SubstToSubst139 The system tried to substitute a drive to a directory on a substituted drive.
JoinToSubst140 The system tried to join a drive to a directory on a substituted drive.
SubstToJoin141 The system tried to SUBST a drive to a directory on a joined drive.
BusyDrive142 The system cannot perform a JOIN or SUBST at this time.
SameDrive143 The system cannot join or substitute a drive to or for a directory on the same drive.
DirNotRoot144 TThe directory is not a subdirectory of the root directory.
DirNotEmpty145 The directory is not empty.
IsSubstPath146 The path specified is being used in a substitute.
IsJoinPath147 Not enough resources are available to process this command.
PathBusy148 The path specified cannot be used at this time.
IsSubstTarget149 An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute.
SystemTrace150 System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed.
InvalidEventCount151 The number of specified semaphore events for DosMuxSemWait is not correct.
TooManyMuxwaiters152 DosMuxSemWait did not execute; too many semaphores are already set.
InvalidListFormat153 The DosMuxSemWait list is not correct.
LabelTooLong154 The volume label you entered exceeds the label character limit of the target file system.
TooManyTcbs155 Cannot create another thread.
SignalRefused156 The recipient process has refused the signal.
Discarded157 The segment is already discarded and cannot be locked.
NotLocked158 The segment is already unlocked.
BadThreadIdAddr159 The address for the thread ID is not correct.
BadArguments160 One or more arguments are not correct.
BadPathname161 The specified path is invalid.
SignalPending162 A signal is already pending.
MaxThrdsReached164 No more threads can be created in the system.
LockFailed167 Unable to lock a region of a file.
Busy170 The requested resource is in use.
CancelViolation173 A lock request was not outstanding for the supplied cancel region.
AtomicLocksNotSupported174 The file system does not support atomic changes to the lock type.
InvalidSegmentNumber180 The system detected a segment number that was not correct.
InvalidOrdinal182 The operating system cannot run %1.
AlreadyExists183 Cannot create a file when that file already exists.
InvalidFlagNumber186 The flag passed is not correct.
SemNotFound187 The specified system semaphore name was not found.
InvalidStartingCodeSeg188 The operating system cannot run %1.
InvalidStackSeg189 The operating system cannot run %1.
InvalidModuleType190 The operating system cannot run %1.
InvalidExeSignature191 Cannot run %1 in Win32 mode.
ExeMarkedInvalid192 The operating system cannot run %1.
BadExeFormat193 %1 is not a valid Win32 application.
IteratedDataExceeds64K194 The operating system cannot run %1.
InvalidMinAllocSize195 The operating system cannot run %1.
DynlinkFromInvalidRing196 The operating system cannot run this application program.
IoplNotEnabled197 The operating system is not presently configured to run this application.
InvalidSegDpl198 The operating system cannot run %1.
AutoDataSegExceeds64K199 The operating system cannot run this application program.
Ring2SegMustBeMovable200 The code segment cannot be greater than or equal to 64K.
RelocChainXeedsSeglim201 The operating system cannot run %1.
InfLoopInRelocChain202 The operating system cannot run %1.
EnvVarNotFound203 The system could not find the environment option that was entered.
NoSignalSent205 No process in the command subtree has a signal handler.
FilenameExcedRange206 The filename or extension is too long.
Ring2StackInUse207 The ring 2 stack is in use.
MetaExpansionTooLong208 The global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified.
InvalidSignalNumber209 The signal being posted is not correct.
Thread1Inactive210 The signal handler cannot be set.
Locked212 The segment is locked and cannot be reallocated.
TooManyModules214 Too many dynamic-link modules are attached to this program or dynamic-link module.
NestingNotAllowed215 Cannot nest calls to LoadModule.
ExeMachineTypeMismatch216 This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
ExeCannotModifySignedBinary217 The image file %1 is signed, unable to modify.
ExeCannotModifyStrongSignedBinary218 The image file %1 is strong signed, unable to modify.
FileCheckedOut220 This file is checked out or locked for editing by another user.
CheckoutRequired221 The file must be checked out before saving changes.
BadFileType222 The file type being saved or retrieved has been blocked.
FileTooLarge223 The file size exceeds the limit allowed and cannot be saved.
FormsAuthRequired224 Access Denied. Before opening files in this location, you must first add the web site to your trusted sites list, browse to the web site, and select the option to login automatically.
VirusInfected225 Operation did not complete successfully because the file contains a virus or potentially unwanted software.
VirusDeleted226 This file contains a virus or potentially unwanted software and cannot be opened. Due to the nature of this virus or potentially unwanted software, the file has been removed from this location.
PipeLocal229 The pipe is local.
BadPipe230 The pipe state is invalid.
PipeBusy231 All pipe instances are busy.
NoData232 The pipe is being closed.
PipeNotConnected233 No process is on the other end of the pipe.
MoreData234 More data is available.
VcDisconnected240 The session was canceled.
InvalidEaName254 The specified extended attribute name was invalid.
EaListInconsistent255 The extended attributes are inconsistent.
WaitTimeout258 The wait operation timed out.
NoMoreItems259 No more data is available.
CannotCopy266 The copy functions cannot be used.
Directory267 The directory name is invalid.
EasDidntFit275 The extended attributes did not fit in the buffer.
EaFileCorrupt276 The extended attribute file on the mounted file system is corrupt.
EaTableFull277 The extended attribute table file is full.
InvalidEaHandle278 The specified extended attribute handle is invalid.
EasNotSupported282 The mounted file system does not support extended attributes.
NotOwner288 Attempt to release mutex not owned by caller.
TooManyPosts298 Too many posts were made to a semaphore.
PartialCopy299 Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
OpLockNotGranted300 The oplock request is denied.
InvalidOplockProtocol301 An invalid oplock acknowledgment was received by the system.
DiskTooFragmented302 The volume is too fragmented to complete this operation.
DeletePending303 The file cannot be opened because it is in the process of being deleted.
IncompatibleWithGlobalShortNameRegistrySetting304 Short name settings may not be changed on this volume due to the global registry setting.
ShortNamesNotEnabledOnVolume305 Short names are not enabled on this volume.
SecurityStreamIsInconsistent306 The security stream for the given volume is in an inconsistent state. Please run CHKDSK on the volume.
InvalidLockRange307 A requested file lock operation cannot be processed due to an invalid byte range.
ImageSubsystemNotPresent308 The subsystem needed to support the image type is not present.
NotificationGuidAlreadyDefined309 The specified file already has a notification GUID associated with it.
MrMidNotFound317 The system cannot find message text for message number 0x%1 in the message file for %2.
ScopeNotFound318 The scope specified was not found.
FailNoActionReboot350 No action was taken as a system reboot is required.
FailShutdown351 The shutdown operation failed.
FailRestart352 The restart operation failed.
MaxSessionsReached353 The maximum number of sessions has been reached.
ThreadModeAlreadyBackground400 The thread is already in background processing mode.
ThreadModeNotBackground401 The thread is not in background processing mode.
ProcessModeAlreadyBackground402 The process is already in background processing mode.
ProcessModeNotBackground403 The process is not in background processing mode.
InvalidAddress487 Attempt to access invalid address.
See Also