This is work in progress.

Windows / Headers / iscsierr.h

iscsierr.h

Constant definitions for the IScsi discover error codes

Associated Error Codes

Below is a list of error codes found for this header.

SymbolicValueDescription
ISDSC_OPERATION_NOT_ALL_SUCCESS0xAFFF002EThe operation was not successful for all initiators or discovery methods.
ISDSC_OPERATION_REQUIRES_REBOOT0xAFFF003BThe operation was successful but requires a driver reload or reboot to become effective.
ISDSC_SHORT_CHAP_SECRET0xAFFF0048The specified CHAP secret is less than 96 bits and will not be usable for authenticating over non ipsec connections.
ISDSC_NON_SPECIFIC_ERROR0xEFFF0001A non specific error occurred.
ISDSC_LOGIN_FAILED0xEFFF0002Login Failed.
ISDSC_CONNECTION_FAILED0xEFFF0003Connection Failed.
ISDSC_INITIATOR_NODE_ALREADY_EXISTS0xEFFF0004Initiator Node Already Exists.
ISDSC_INITIATOR_NODE_NOT_FOUND0xEFFF0005Initiator Node Does Not Exist.
ISDSC_TARGET_MOVED_TEMPORARILY0xEFFF0006Target Moved Temporarily.
ISDSC_TARGET_MOVED_PERMANENTLY0xEFFF0007Target Moved Permanently.
ISDSC_INITIATOR_ERROR0xEFFF0008Initiator Error.
ISDSC_AUTHENTICATION_FAILURE0xEFFF0009Authentication Failure.
ISDSC_AUTHORIZATION_FAILURE0xEFFF000AAuthorization Failure.
ISDSC_NOT_FOUND0xEFFF000BNot Found.
ISDSC_TARGET_REMOVED0xEFFF000CTarget Removed.
ISDSC_UNSUPPORTED_VERSION0xEFFF000DUnsupported Version.
ISDSC_TOO_MANY_CONNECTIONS0xEFFF000EToo many Connections.
ISDSC_MISSING_PARAMETER0xEFFF000FMissing Parameter.
ISDSC_CANT_INCLUDE_IN_SESSION0xEFFF0010Can not include in session.
ISDSC_SESSION_TYPE_NOT_SUPPORTED0xEFFF0011Session type not supported.
ISDSC_TARGET_ERROR0xEFFF0012Target Error.
ISDSC_SERVICE_UNAVAILABLE0xEFFF0013Service Unavailable.
ISDSC_OUT_OF_RESOURCES0xEFFF0014Out of Resources.
ISDSC_CONNECTION_ALREADY_EXISTS0xEFFF0015Connections already exist on initiator node.
ISDSC_SESSION_ALREADY_EXISTS0xEFFF0016Session Already Exists.
ISDSC_INITIATOR_INSTANCE_NOT_FOUND0xEFFF0017Initiator Instance Does Not Exist.
ISDSC_TARGET_ALREADY_EXISTS0xEFFF0018Target Already Exists.
ISDSC_DRIVER_BUG0xEFFF0019The iscsi driver implementation did not complete an operation correctly.
ISDSC_INVALID_TEXT_KEY0xEFFF001AAn invalid key text was encountered.
ISDSC_INVALID_SENDTARGETS_TEXT0xEFFF001BInvalid SendTargets response text was encountered.
ISDSC_INVALID_SESSION_ID0xEFFF001CInvalid Session Id.
ISDSC_SCSI_REQUEST_FAILED0xEFFF001DThe scsi request failed.
ISDSC_TOO_MANY_SESSIONS0xEFFF001EExceeded max sessions for this initiator.
ISDSC_SESSION_BUSY0xEFFF001FSession is busy since a request is already in progress.
ISDSC_TARGET_MAPPING_UNAVAILABLE0xEFFF0020The target mapping requested is not available.
ISDSC_ADDRESS_TYPE_NOT_SUPPORTED0xEFFF0021The Target Address type given is not supported.
ISDSC_LOGON_FAILED0xEFFF0022Logon Failed.
ISDSC_SEND_FAILED0xEFFF0023TCP Send Failed.
ISDSC_TRANSPORT_ERROR0xEFFF0024TCP Transport Error
ISDSC_VERSION_MISMATCH0xEFFF0025iSCSI Version Mismatch
ISDSC_TARGET_MAPPING_OUT_OF_RANGE0xEFFF0026The Target Mapping Address passed is out of range for the adapter configuration.
ISDSC_TARGET_PRESHAREDKEY_UNAVAILABLE0xEFFF0027The preshared key for the target or IKE identification payload is not available.
ISDSC_TARGET_AUTHINFO_UNAVAILABLE0xEFFF0028The authentication information for the target is not available.
ISDSC_TARGET_NOT_FOUND0xEFFF0029The target name is not found or is marked as hidden from login.
ISDSC_LOGIN_USER_INFO_BAD0xEFFF002AOne or more parameters specified in LoginTargetIN structure is invalid.
ISDSC_TARGET_MAPPING_EXISTS0xEFFF002BGiven target mapping already exists.
ISDSC_HBA_SECURITY_CACHE_FULL0xEFFF002CThe HBA security information cache is full.
ISDSC_INVALID_PORT_NUMBER0xEFFF002DThe port number passed is not valid for the initiator.
ISDSC_HBA_SECURITY_CACHE_NOT_SUPPORTED0xEFFF002FThe HBA security information cache is not supported by this adapter.
ISDSC_IKE_ID_PAYLOAD_TYPE_NOT_SUPPORTED0xEFFF0030The IKE id payload type specified is not supported.
ISDSC_IKE_ID_PAYLOAD_INCORRECT_SIZE0xEFFF0031The IKE id payload size specified is not correct.
ISDSC_TARGET_PORTAL_ALREADY_EXISTS0xEFFF0032Target Portal Structure Already Exists.
ISDSC_TARGET_ADDRESS_ALREADY_EXISTS0xEFFF0033Target Address Structure Already Exists.
ISDSC_NO_AUTH_INFO_AVAILABLE0xEFFF0034There is no IKE authentication information available.
ISDSC_NO_TUNNEL_OUTER_MODE_ADDRESS0xEFFF0035There is no tunnel mode outer address specified.
ISDSC_CACHE_CORRUPTED0xEFFF0036Authentication or tunnel address cache is corrupted.
ISDSC_REQUEST_NOT_SUPPORTED0xEFFF0037The request or operation is not supported.
ISDSC_TARGET_OUT_OF_RESORCES0xEFFF0038The target does not have enough resources to process the given request.
ISDSC_SERVICE_DID_NOT_RESPOND0xEFFF0039The initiator service did not respond to the request sent by the driver.
ISDSC_ISNS_SERVER_NOT_FOUND0xEFFF003AThe Internet Storage Name Server (iSNS) server was not found or is unavailable.
ISDSC_NO_PORTAL_SPECIFIED0xEFFF003CThere is no target portal available to complete the login.
ISDSC_CANT_REMOVE_LAST_CONNECTION0xEFFF003DCannot remove the last connection for a session.
ISDSC_SERVICE_NOT_RUNNING0xEFFF003EThe Microsoft iSCSI Initiator Service is not running. Please start the service and retry.
ISDSC_TARGET_ALREADY_LOGGED_IN0xEFFF003FThe target has already been logged in via an iSCSI session.
ISDSC_DEVICE_BUSY_ON_SESSION0xEFFF0040The session cannot be logged out since a device on that session is currently being used.
ISDSC_COULD_NOT_SAVE_PERSISTENT_LOGIN_DATA0xEFFF0041Failed to save persistent login information.
ISDSC_COULD_NOT_REMOVE_PERSISTENT_LOGIN_DATA0xEFFF0042Failed to remove persistent login information.
ISDSC_PORTAL_NOT_FOUND0xEFFF0043The specified portal was not found.
ISDSC_INITIATOR_NOT_FOUND0xEFFF0044The specified initiator name was not found.
ISDSC_DISCOVERY_MECHANISM_NOT_FOUND0xEFFF0045The specified discovery mechanism was not found.
ISDSC_IPSEC_NOT_SUPPORTED_ON_OS0xEFFF0046iSCSI does not support IPSEC for this version of the OS.
ISDSC_PERSISTENT_LOGIN_TIMEOUT0xEFFF0047The iSCSI service timed out waiting for all persistent logins to complete.
ISDSC_EVALUATION_PEROID_EXPIRED0xEFFF0049The evaluation period for the iSCSI initiator service has expired.
ISDSC_INVALID_CHAP_SECRET0xEFFF004ACHAP secret given does not conform to the standard. Please see system event log for more information.
ISDSC_INVALID_TARGET_CHAP_SECRET0xEFFF004BTarget CHAP secret given is invalid. Maximum size of CHAP secret is 16 bytes. Minimum size is 12 bytes if IPSec is not used.
ISDSC_INVALID_INITIATOR_CHAP_SECRET0xEFFF004CInitiator CHAP secret given is invalid. Maximum size of CHAP secret is 16 bytes. Minimum size is 12 bytes if IPSec is not used.
ISDSC_INVALID_CHAP_USER_NAME0xEFFF004DCHAP Username given is invalid.
ISDSC_INVALID_LOGON_AUTH_TYPE0xEFFF004ELogon Authentication type given is invalid.
ISDSC_INVALID_TARGET_MAPPING0xEFFF004FTarget Mapping information given is invalid.
ISDSC_INVALID_TARGET_ID0xEFFF0050Target Id given in Target Mapping is invalid.
ISDSC_INVALID_ISCSI_NAME0xEFFF0051The iSCSI name specified contains invalid characters or is too long.
ISDSC_INCOMPATIBLE_ISNS_VERSION0xEFFF0052The version number returned from the Internet Storage Name Server (iSNS) server is not compatible with this version of the iSNS client.
ISDSC_FAILED_TO_CONFIGURE_IPSEC0xEFFF0053Initiator failed to configure IPSec for the given connection. This could be because of low resources.
ISDSC_BUFFER_TOO_SMALL0xEFFF0054The buffer given for processing the request is too small.
ISDSC_INVALID_LOAD_BALANCE_POLICY0xEFFF0055The given Load Balance policy is not recognized by iScsi initiator.
ISDSC_INVALID_PARAMETER0xEFFF0056One or more paramaters specified is not valid.
ISDSC_DUPLICATE_PATH_SPECIFIED0xEFFF0057Duplicate PathIds were specified in the call to set Load Balance Policy.
ISDSC_PATH_COUNT_MISMATCH0xEFFF0058Number of paths specified in Set Load Balance Policy does not match the number of paths to the target.
ISDSC_INVALID_PATH_ID0xEFFF0059Path Id specified in the call to set Load Balance Policy is not valid
ISDSC_MULTIPLE_PRIMARY_PATHS_SPECIFIED0xEFFF005AMultiple primary paths specified when only one primary path is expected.
ISDSC_NO_PRIMARY_PATH_SPECIFIED0xEFFF005BNo primary path specified when at least one is expected.
ISDSC_DEVICE_ALREADY_PERSISTENTLY_BOUND0xEFFF005CDevice is already a persistently bound device.
ISDSC_DEVICE_NOT_FOUND0xEFFF005DDevice was not found.
ISDSC_DEVICE_NOT_ISCSI_OR_PERSISTENT0xEFFF005EThe device specified does not originate from an iSCSI disk or a persistent iSCSI login.
ISDSC_DNS_NAME_UNRESOLVED0xEFFF005FThe DNS name specified was not resolved.
ISDSC_NO_CONNECTION_AVAILABLE0xEFFF0060There is no connection available in the iSCSI session to process the request.
ISDSC_LB_POLICY_NOT_SUPPORTED0xEFFF0061The given Load Balance policy is not supported.
ISDSC_REMOVE_CONNECTION_IN_PROGRESS0xEFFF0062A remove connection request is already in progress for this session.
ISDSC_INVALID_CONNECTION_ID0xEFFF0063Given connection was not found in the session.
ISDSC_CANNOT_REMOVE_LEADING_CONNECTION0xEFFF0064The leading connection in the session cannot be removed.
ISDSC_RESTRICTED_BY_GROUP_POLICY0xEFFF0065The operation cannot be performed since it does not conform with the group policy assigned to this computer.
ISDSC_ISNS_FIREWALL_BLOCKED0xEFFF0066The operation cannot be performed since the Internet Storage Name Server (iSNS) firewall exception has not been enabled.
ISDSC_FAILURE_TO_PERSIST_LB_POLICY0xEFFF0067Failed to persist load balancing policy parameters.
ISDSC_INVALID_HOST0xEFFF0068The name could not be resolved to an IP Address.
104 entries