6.1 NDS Return Values from the Operating System

The NDS return values are defined in the nwdserr.h file. The table below lists the errors numerically by their negative decimal values.

Table 6-1 NDS Return Values from the Operating system

Hex

Dec

Constant: Description

0xFFFF FFFF

-001

DSERR_INSUFFICIENT_SPACE

0xFFFF FF89

-119

DSERR_BUFFER_TOO_SMALL: The data to be passed back is too large for the buffer you have declared

0xFFFF FF88

-120

DSERR_VOLUME_FLAG_NOT_SET

0xFFFF FF87

-121

DSERR_NO_ITEMS_FOUND: You made a bindery request for items not found

0xFFFF FF86

-122

DSERR_CONN_ALREADY_TEMPORARY: Attempted to convert a temporary connection into a temporary connection

0xFFFF FF85

-123

DSERR_CONN_ALREADY_LOGGED_IN: Attempted to log in to a server you were already logged into

0xFFFF FF84

-124

DSERR_CONN_NOT_AUTHENTICATED: Attempted connection for call without being authenticated

0xFFFF FF83

-125

DSERR_CONN_NOT_LOGGED_IN: Attempted to log out of a connection you are not logged into

0xFFFF FF82

-126

DSERR_NCP_BOUNDARY_CHECK_FAILED: NCP subfunction size does not match the actual size of data sent

0xFFFF FF81

-127

DSERR_LOCK_WAITING: Time-out occurred before file was locked

0xFFFF FF80

-128

DSERR_LOCK_FAIL: Attempted to open or create a file that is already open

0xFFFF FF7F

-129

DSERR_OUT_OF_HANDLES: No more file handles available; the network file handle table is full

0xFFFF FF7E

-130

DSERR_NO_OPEN_PRIVILEGE: Attempted to open a file without the open privilege

0xFFFF FF7D

-131

DSERR_HARD_IO_ERROR: Hard disk input/output error on a NetWare® volume; a bad sector has been encountered and could be fatal

0xFFFF FF7C

-132

DSERR_NO_CREATE_PRIVILEGE: Attempted to create a file without the create privilege

0xFFFF FF7B

-133

DSERR_NO_CREATE_DELETE_PRIV: Attempted to create an already existing file without the create/delete privileges

0xFFFF FF7A

-134

DSERR_R_O_CREATE_FILE: Attempted to create a file with the same name as an already existing file with read-only status

0xFFFF FF79

-135

DSERR_CREATE_FILE_INVALID_NAME: A file name contains invalid characters

0xFFFF FF78

-136

DSERR_INVALID_FILE_HANDLE: Attempted to close or perform I/O on a file with an invalid file handle (i.e. trying to read from a file that has been closed)

0xFFFF FF77

-137

DSERR_NO_SEARCH_PRIVILEGE: Attempted to search a directory without search privileges in that directory

0xFFFF FF76

-138

DSERR_NO_DELETE_PRIVILEGE: Attempted to delete a file without file deletion privileges in that file’s directory

0xFFFF FF75

-139

DSERR_NO_RENAME_PRIVILEGE: Attempted to rename a file without renaming privileges in that file’s directory

0xFFFF FF74

-140

DSERR_NO_SET_PRIVILEGE Attempted to modify a file without attribute modification privileges in that file’s directory

0xFFFF FF73

-141

DSERR_SOME_FILES_IN_USE: Attempted to delete, rename, or set file attributes using an ambiguous filename while some of the files are in use by another workstation

0xFFFF FF72

-142

DSERR_ALL_FILES_IN_USE: Attempted to delete, rename, or set file attributes using a filename when the file or files are in use by another workstation

0xFFFF FF71

-143

DSERR_SOME_READ_ONLY: Attempted to open read-only files

0xFFFF FF70

-144

DSERR_ALL_READ_ONLY: Attempted to delete, rename, or set file attributes using a filename when all of the files specified have read-only status

0xFFFF FF6F

-145

DSERR_SOME_NAMES_EXIST: Attempted to rename files using an ambiguous filename, when one or more files matching the new filename specification already exist

0xFFFF FF6E

-146

DSERR_ALL_NAMES_EXIST: Attempted to rename a file using a filename, when all of the files matching the new filename specification already exist

0xFFFF FF6D

-147

DSERR_NO_READ_PRIVILEGE: Attempted to read a file without read privileges for that file

0xFFFF FF6C

-148

DSERR_NO_WRITE_PRIVILEGE: Attempted to write to a file without file write privileges, or the specified file has read-only status

0xFFFF FF6B

-149

DSERR_FILE_DETACHED: Attempted to read or write to a detached file

0xFFFF FF6A

-150

DSERR_NO_ALLOC_SPACE: Attempted to write to a server that does not currently have enough free DRAM to process this request

0xFFFF FF6A

-150

DSERR_TARGET_NOT_A_SUBDIR

0xFFFF FF6A

-150

ERR_INSUFFICIENT_MEMORY

0xFFFF FF69

-151

DSERR_NO_SPOOL_SPACE: The network OS has determined that the network disk doesn’t have enough space left for spool files

0xFFFF FF68

-152

DSERR_INVALID_VOLUME: The network OS cannot find the requested volume in the system definition files

0xFFFF FF67

-153

DSERR_DIRECTORY_FULL: Attempted to write to a volume without available directory space

0xFFFF FF66

-154

DSERR_RENAME_ACROSS_VOLUME: Attempted to rename a file and move it from its current volume into another volume. The rename command may move the file between directories on the same volume; however, using rename to move a file between volumes is not allowed.

0xFFFF FF65

-155

DSERR_BAD_DIR_HANDLE: Attempted to use an invalid directory handle (occurs if the network has been brought down and back up without rebooting the workstation)

0xFFFF FF64

-156

DSERR_INVALID_PATH

0xFFFF FF64

-156

DSERR_NO_SUCH_EXTENSION: No more trustees are listed in the directory

0xFFFF FF63

-157

DSERR_NO_DIR_HANDLES: No more directory handles available. The directory handle table is full. Each user may have up to 255 directory handles.

0xFFFF FF62

-158

DSERR_BAD_FILE_NAME: Attempted to create a file using invalid file name characters

0xFFFF FF61

-159

DSERR_DIRECTORY_ACTIVE: Attempted to delete a directory that is being used by another workstation

0xFFFF FF60

-160

DSERR_DIRECTORY_NOT_EMPTY: Attempted to delete a directory that contains files or other directories

0xFFFF FF5F

-161

DSERR_DIRECTORY_IO_ERROR: A non-recoverable I/O error has occurred on the disk in the directory area (occurred in both copies of the directory and is fatal)

0xFFFF FF5E

-162

DSERR_IO_LOCKED: Attempted to read a file where data is physically locked

0xFFFF FF5D

-163

DSERR_TRANSACTION_RESTARTED

0xFFFF FF5C

-164

DSERR_RENAME_DIR_INVALID

0xFFFF FF5B

-165

DSERR_INVALID_OPENCREATE_MODE

0xFFFF FF5A

-166

DSERR_ALREADY_IN_USE

0xFFFF FF59

-167

DSERR_INVALID_RESOURCE_TAG

0xFFFF FF58

-168

DSERR_ACCESS_DENIED

0xFFFF FE44

-188

DSERR_LOGIN_SIGNING_REQUIRED

0xFFFF FE43

-189

DSERR_LOGIN_ENCRYPT_REQUIRED

0xFFFF FF42

-190

DSERR_INVALID_DATA_STREAM

0xFFFF FF41

-191

DSERR_INVALID_NAME_SPACE

0xFFFF FF40

-192

DSERR_NO_ACCOUNTING_PRIVILEGES

0xFFFF FF3F

-193

DSERR_NO_ACCOUNT_BALANCE: Attempted to log in by a bindery object without an accounting balance while accounting was enabled

0xFFFF FF3E

-194

DSERR_CREDIT_LIMIT_EXCEEDED: Attempted to log in to account with no credit available

0xFFFF FF3D

-195

DSERR_TOO_MANY_HOLDS

0xFFFF FF3C

-196

DSERR_ACCOUNTING_DISABLED

0xFFFF FF3B

-197

DSERR_LOGIN_LOCKOUT: Attempted to log in after the system had locked the account because of intruder detection

0xFFFF FF3A

-198

DSERR_NO_CONSOLE_RIGHTS: Attempted to use console without operator privileges

0xFFFF FF30

-208

DSERR_Q_IO_FAILURE

0xFFFF FF2F

-209

DSERR_NO_QUEUE

0xFFFF FF2E

-210

DSERR_NO_Q_SERVER

0xFFFF FF2D

-211

DSERR_NO_Q_RIGHTS

0xFFFF FF2C

-212

DSERR_Q_FULL

0xFFFF FF2B

-213

DSERR_NO_Q_JOB

0xFFFF FF2A

-214

DSERR_NO_Q_JOB_RIGHTS

0xFFFF FF2A

-214

DSERR_UNENCRYPTED_NOT_ALLOWED

0xFFFF FF29

-215

DSERR_Q_IN_SERVICE

0xFFFF FF29

-215

DSERR_DUPLICATE_PASSWORD: Attempted to change password to a previously used password when the unique requirement is specified for the account

0xFFFF FF28

-216

DSERR_Q_NOT_ACTIVE

0xFFFF FF28

-216

DSERR_PASSWORD_TOO_SHORT: Attempted to change password to one with fewer characters than the required minimum specified for the account

0xFFFF FF27

-217

DSERR_Q_STN_NOT_SERVER

0xFFFF FF27

-217

DSERR_MAXIMUM_LOGINS_EXCEEDED: Attempted to log in using an account that has limits on the number of concurrent connections and that number has been reached

0xFFFF FF26

-218

DSERR_Q_HALTED

0xFFFF FF26

-218

DSERR_BAD_LOGIN_TIME: Attempted to log in during an unauthorized time of day specified for the account

0xFFFF FF25

-219

DSERR_Q_MAX_SERVERS

0xFFFF FF25

-219

DSERR_NODE_ADDRESS_VIOLATION: Attempted to log in from an unauthorized station using an account with limits to a specific network and/or station

0xFFFF FF24

-220

DSERR_LOG_ACCOUNT_EXPIRED: Attempted to log in using an account that has expired or has been disabled by the Supervisor

0xFFFF FF22

-222

DSERR_BAD_PASSWORD: Attempted to log in using an account password that has expired and all grace logins have also expired

0xFFFF FF21

-223

DSERR_PASSWORD_EXPIRED: Attempted to log in using an expired account password but the login was allowed because the account had a grace login

0xFFFF FF20

-224

DSERR_NO_LOGIN_CONN_AVAILABLE

0xFFFF FF18

-232

DSERR_WRITE_TO_GROUP_PROPERTY: Attempted to write a data segment to a group property using the call to write a property value

0xFFFF FF17

-233

DSERR_MEMBER_ALREADY_EXISTS: Attempted to redundantly add an object to a group property

0xFFFF FF16

-234

DSERR_NO_SUCH_MEMBER: Attempted to use an object that is not a member of the defined group property

0xFFFF FF15

-235

DSERR_PROPERTY_NOT_GROUP: Attempted to use a non-group property

0xFFFF FF14

-236

DSERR_NO_SUCH_VALUE_SET: Attempted to use a nonexistent segment. Segments must be written sequentially when a property is first created, but may be read and written in any order once they exist.

0xFFFF FF13

-237

DSERR_PROPERTY_ALREADY_EXISTS

0xFFFF FF12

-238

DSERR_OBJECT_ALREADY_EXISTS

0xFFFF FF11

-239

DSERR_ILLEGAL_NAME: Request made with an object or property name containing illegal characters (control characters, comma, colon, semicolon, slash, backslash, question mark, asterisk, and tilde)

0xFFFF FF10

-240

DSERR_ILLEGAL_WILDCARD: Attempted to use a wildcard character or wild object type in a call where wildcards are not allowed

0xFFFF FF0F

-241

DSERR_BINDERY_SECURITY: Attempted to assign a security level of a bindery object or property to be higher than the user’s security level (makes the object or property inaccessible to the user)

0xFFFF FF0E

-242

DSERR_NO_OBJECT_READ_RIGHTS: Attempted to access object information or scan the object properties using a station without the necessary security to access this information

0xFFFF FF0D

-243

DSERR_NO_OBJECT_RENAME_RIGHTS: Attempted to rename an object without the necessary security. Only the Supervisor can rename objects. If the station does not have the proper security to see that the object exists, NCP_NO_SUCH_OBJECT is returned.

0xFFFF FF0C

-244

DSERR_NO_OBJECT_DELETE_RIGHTS: Attempted to delete an object using a station without the necessary security to delete the object. Only the Supervisor can delete objects. If the station does not even have the proper security to see that the object exists, NCP_NO_SUCH_OBJECT is returned.

0xFFFF FF0B

-245

DSERR_NO_OBJECT_CREATE_RIGHTS: Attempted to create an object using a station without the necessary security to create or change an object (only Supervisors are allowed to create objects)

0xFFFF FF0A

-246

DSERR_NO_PROPERTY_DELETE_RIGHTS: Attempted to delete a property using a station without the necessary security privilege to delete a property from the given object. If the station does not have the proper security to see that the property exists, NCP_NO_SUCH_PROPERTY is returned.

0xFFFF FF09

-247

DSERR_NO_PROPERTY_CREATE_RIGHTS: Attempted to create a property using a station without the necessary security to create or change a property for the object

0xFFFF FF08

-248

DSERR_NO_PROPERTY_WRITE_RIGHTS

0xFFFF FF07

-249

DSERR_NO_PROPERTY_READ_RIGHTS: Attempted to read property data using a station without the necessary rights to access the property data

0xFFFF FF06

-250

DSERR_TEMP_REMAP: Attempted to use an unknown path

0xFFFF FF05

-251

DSERR_UNKNOWN_REQUEST: Attempted to use an invalid parameter (drive number, path, or flag value) during a set drive path call

0xFFFF FF05

-251

DSERR_NO_SUCH_PROPERTY: Attempted to use a property that does not exist for the specified object

0xFFFF FF04

-252

DSERR_MESSAGE_QUEUE_FULL

0xFFFF FF04

-252

DSERR_TARGET_ALREADY_HAS_MSG

0xFFFF FF04

-252

DSERR_NO_SUCH_OBJECT: Attempted to use an object that doesn’t exist, or the calling station doesn’t have the proper security to access the object. The object name and type must both match for the object to be found.

0xFFFF FF03

-253

DSERR_BAD_STATION_NUMBER: Attempted to use a bad (undefined, unavailable, etc.) station number

0xFFFF FF02

-254

DSERR_BINDERY_LOCKED: Attempted to use a bindery that is temporarily locked by the Supervisor

0xFFFF FF02

-254

DSERR_DIR_LOCKED

0xFFFF FF02

-254

DSERR_SPOOL_DELETE

0xFFFF FF02

-254

DSERR_TRUSTEE_NOT_FOUND

0xFFFF FF02

-254

DSERR_TIMEOUT

0xFFFF FF01

-255

DSERR_HARD_FAILURE

0xFFFF FF01

-255

DSERR_FILE_NAME

0xFFFF FF01

-255

DSERR_FILE_EXISTS

0xFFFF FF01

-255

DSERR_CLOSE_FCB

0xFFFF FF01

-255

DSERR_IO_BOUND: Attempted to write beyond the end of the file or disk

0xFFFF FF01

-255

DSERR_NO_SPOOL_FILE

0xFFFF FF01

-255

DSERR_BAD_SPOOL_PRINTER: Attempted to use a bad (undefined, unavailable, etc.) printer

0xFFFF FF01

-255

DSERR_BAD_PARAMETER

0xFFFF FF01

-255

DSERR_NO_FILES_FOUND: No files were found matching the search specification

0xFFFF FF01

-255

DSERR_NO_TRUSTEE_CHANGE_PRIV

0xFFFF FF01

-255

DSERR_TARGET_NOT_LOGGED_IN

0xFFFF FF01

-255

DSERR_TARGET_NOT_ACCEPTING_MSGS

0xFFFF FF01

-255

DSERR_MUST_FORCE_DOWN

0xFFFF FF01

-255

DSERR_OF_SOME_SORT