Code HRESULT Description #define
1 0xEFFF0001 A non specific error occurred. ISDSC_NON_SPECIFIC_ERROR
2 0xEFFF0002 Login Failed. ISDSC_LOGIN_FAILED
3 0xEFFF0003 Connection Failed. ISDSC_CONNECTION_FAILED
4 0xEFFF0004 Initiator Node Already Exists. ISDSC_INITIATOR_NODE_ALREADY_EXISTS
5 0xEFFF0005 Initiator Node Does Not Exist. ISDSC_INITIATOR_NODE_NOT_FOUND
6 0xEFFF0006 Target Moved Temporarily. ISDSC_TARGET_MOVED_TEMPORARILY
7 0xEFFF0007 Target Moved Permanently. ISDSC_TARGET_MOVED_PERMANENTLY
8 0xEFFF0008 Initiator Error. ISDSC_INITIATOR_ERROR
9 0xEFFF0009 Authentication Failure. ISDSC_AUTHENTICATION_FAILURE
10 0xEFFF000A Authorization Failure. ISDSC_AUTHORIZATION_FAILURE
11 0xEFFF000B Not Found. ISDSC_NOT_FOUND
12 0xEFFF000C Target Removed. ISDSC_TARGET_REMOVED
13 0xEFFF000D Unsupported Version. ISDSC_UNSUPPORTED_VERSION
14 0xEFFF000E Too many Connections. ISDSC_TOO_MANY_CONNECTIONS
15 0xEFFF000F Missing Parameter. ISDSC_MISSING_PARAMETER
16 0xEFFF0010 Can not include in session. ISDSC_CANT_INCLUDE_IN_SESSION
17 0xEFFF0011 Session type not supported. ISDSC_SESSION_TYPE_NOT_SUPPORTED
18 0xEFFF0012 Target Error. ISDSC_TARGET_ERROR
19 0xEFFF0013 Service Unavailable. ISDSC_SERVICE_UNAVAILABLE
20 0xEFFF0014 Out of Resources. ISDSC_OUT_OF_RESOURCES
21 0xEFFF0015 Connections already exist on initiator node. ISDSC_CONNECTION_ALREADY_EXISTS
22 0xEFFF0016 Session Already Exists. ISDSC_SESSION_ALREADY_EXISTS
23 0xEFFF0017 Initiator Instance Does Not Exist. ISDSC_INITIATOR_INSTANCE_NOT_FOUND
24 0xEFFF0018 Target Already Exists. ISDSC_TARGET_ALREADY_EXISTS
25 0xEFFF0019 The iscsi driver implementation did not complete an operation correctly. ISDSC_DRIVER_BUG
26 0xEFFF001A An invalid key text was encountered. ISDSC_INVALID_TEXT_KEY
27 0xEFFF001B Invalid SendTargets response text was encountered. ISDSC_INVALID_SENDTARGETS_TEXT
28 0xEFFF001C Invalid Session Id. ISDSC_INVALID_SESSION_ID
29 0xEFFF001D The scsi request failed. ISDSC_SCSI_REQUEST_FAILED
30 0xEFFF001E Exceeded max sessions for this initiator. ISDSC_TOO_MANY_SESSIONS
31 0xEFFF001F Session is busy since a request is already in progress. ISDSC_SESSION_BUSY
32 0xEFFF0020 The target mapping requested is not available. ISDSC_TARGET_MAPPING_UNAVAILABLE
33 0xEFFF0021 The Target Address type given is not supported. ISDSC_ADDRESS_TYPE_NOT_SUPPORTED
34 0xEFFF0022 Logon Failed. ISDSC_LOGON_FAILED
35 0xEFFF0023 TCP Send Failed. ISDSC_SEND_FAILED
36 0xEFFF0024 TCP Transport Error ISDSC_TRANSPORT_ERROR
37 0xEFFF0025 iSCSI Version Mismatch ISDSC_VERSION_MISMATCH
38 0xEFFF0026 The Target Mapping Address passed is out of range for the adapter configuration. ISDSC_TARGET_MAPPING_OUT_OF_RANGE
39 0xEFFF0027 The preshared key for the target or IKE identification payload is not available. ISDSC_TARGET_PRESHAREDKEY_UNAVAILABLE
40 0xEFFF0028 The authentication information for the target is not available. ISDSC_TARGET_AUTHINFO_UNAVAILABLE
41 0xEFFF0029 The target name is not found or is marked as hidden from login. ISDSC_TARGET_NOT_FOUND
42 0xEFFF002A One or more parameters specified in LoginTargetIN structure is invalid. ISDSC_LOGIN_USER_INFO_BAD
43 0xEFFF002B Given target mapping already exists. ISDSC_TARGET_MAPPING_EXISTS
44 0xEFFF002C The HBA security information cache is full. ISDSC_HBA_SECURITY_CACHE_FULL
45 0xEFFF002D The port number passed is not valid for the initiator. ISDSC_INVALID_PORT_NUMBER
46 0xAFFF002E The operation was not successful for all initiators or discovery methods. ISDSC_OPERATION_NOT_ALL_SUCCESS
47 0xEFFF002F The HBA security information cache is not supported by this adapter. ISDSC_HBA_SECURITY_CACHE_NOT_SUPPORTED
48 0xEFFF0030 The IKE id payload type specified is not supported. ISDSC_IKE_ID_PAYLOAD_TYPE_NOT_SUPPORTED
49 0xEFFF0031 The IKE id payload size specified is not correct. ISDSC_IKE_ID_PAYLOAD_INCORRECT_SIZE
50 0xEFFF0032 Target Portal Structure Already Exists. ISDSC_TARGET_PORTAL_ALREADY_EXISTS
51 0xEFFF0033 Target Address Structure Already Exists. ISDSC_TARGET_ADDRESS_ALREADY_EXISTS
52 0xEFFF0034 There is no IKE authentication information available. ISDSC_NO_AUTH_INFO_AVAILABLE
53 0xEFFF0035 There is no tunnel mode outer address specified. ISDSC_NO_TUNNEL_OUTER_MODE_ADDRESS
54 0xEFFF0036 Authentication or tunnel address cache is corrupted. ISDSC_CACHE_CORRUPTED
55 0xEFFF0037 The request or operation is not supported. ISDSC_REQUEST_NOT_SUPPORTED
56 0xEFFF0038 The target does not have enough resources to process the given request. ISDSC_TARGET_OUT_OF_RESORCES
57 0xEFFF0039 The initiator service did not respond to the request sent by the driver. ISDSC_SERVICE_DID_NOT_RESPOND
58 0xEFFF003A The Internet Storage Name Server (iSNS) server was not found or is unavailable. ISDSC_ISNS_SERVER_NOT_FOUND
59 0xAFFF003B The operation was successful but requires a driver reload or reboot to become effective. ISDSC_OPERATION_REQUIRES_REBOOT
60 0xEFFF003C There is no target portal available to complete the login. ISDSC_NO_PORTAL_SPECIFIED
61 0xEFFF003D Cannot remove the last connection for a session. ISDSC_CANT_REMOVE_LAST_CONNECTION
62 0xEFFF003E The Microsoft iSCSI initiator service has not been started. ISDSC_SERVICE_NOT_RUNNING
63 0xEFFF003F The target has already been logged in via an iSCSI session. ISDSC_TARGET_ALREADY_LOGGED_IN
64 0xEFFF0040 The session cannot be logged out since a device on that session is currently being used. ISDSC_DEVICE_BUSY_ON_SESSION
65 0xEFFF0041 Failed to save persistent login information. ISDSC_COULD_NOT_SAVE_PERSISTENT_LOGIN_DATA
66 0xEFFF0042 Failed to remove persistent login information. ISDSC_COULD_NOT_REMOVE_PERSISTENT_LOGIN_DATA
67 0xEFFF0043 The specified portal was not found. ISDSC_PORTAL_NOT_FOUND
68 0xEFFF0044 The specified initiator name was not found. ISDSC_INITIATOR_NOT_FOUND
69 0xEFFF0045 The specified discovery mechanism was not found. ISDSC_DISCOVERY_MECHANISM_NOT_FOUND
70 0xEFFF0046 iSCSI does not support IPSEC for this version of the OS. ISDSC_IPSEC_NOT_SUPPORTED_ON_OS
71 0xEFFF0047 The iSCSI service timed out waiting for all persistent logins to complete. ISDSC_PERSISTENT_LOGIN_TIMEOUT
72 0xAFFF0048 The specified CHAP secret is less than 96 bits and will not be usable for authenticating over non ipsec connections. ISDSC_SHORT_CHAP_SECRET
73 0xEFFF0049 The evaluation period for the iSCSI initiator service has expired. ISDSC_EVALUATION_PEROID_EXPIRED
74 0xEFFF004A CHAP secret given does not conform to the standard. Please see system event log for more information. ISDSC_INVALID_CHAP_SECRET
75 0xEFFF004B Target 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_TARGET_CHAP_SECRET
76 0xEFFF004C Initiator 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_SECRET
77 0xEFFF004D CHAP Username given is invalid. ISDSC_INVALID_CHAP_USER_NAME
78 0xEFFF004E Logon Authentication type given is invalid. ISDSC_INVALID_LOGON_AUTH_TYPE
79 0xEFFF004F Target Mapping information given is invalid. ISDSC_INVALID_TARGET_MAPPING
80 0xEFFF0050 Target Id given in Target Mapping is invalid. ISDSC_INVALID_TARGET_ID
81 0xEFFF0051 The iSCSI name specified contains invalid characters or is too long. ISDSC_INVALID_ISCSI_NAME
82 0xEFFF0052 The version number returned from the Internet Storage Name Server (iSNS) server is not compatible with this version of the iSNS client. ISDSC_INCOMPATIBLE_ISNS_VERSION
83 0xEFFF0053 Initiator failed to configure IPSec for the given connection. This could be because of low resources. ISDSC_FAILED_TO_CONFIGURE_IPSEC
84 0xEFFF0054 The buffer given for processing the request is too small. ISDSC_BUFFER_TOO_SMALL
85 0xEFFF0055 The given Load Balance policy is not recognized by iScsi initiator. ISDSC_INVALID_LOAD_BALANCE_POLICY
86 0xEFFF0056 One or more paramaters specified is not valid. ISDSC_INVALID_PARAMETER
87 0xEFFF0057 Duplicate PathIds were specified in the call to set Load Balance Policy. ISDSC_DUPLICATE_PATH_SPECIFIED
88 0xEFFF0058 Number of paths specified in Set Load Balance Policy does not match the number of paths to the target. ISDSC_PATH_COUNT_MISMATCH
89 0xEFFF0059 Path Id specified in the call to set Load Balance Policy is not valid ISDSC_INVALID_PATH_ID
90 0xEFFF005A Multiple primary paths specified when only one primary path is expected. ISDSC_MULTIPLE_PRIMARY_PATHS_SPECIFIED
91 0xEFFF005B No primary path specified when at least one is expected. ISDSC_NO_PRIMARY_PATH_SPECIFIED
92 0xEFFF005C Device is already a persistently bound device. ISDSC_DEVICE_ALREADY_PERSISTENTLY_BOUND
93 0xEFFF005D Device was not found. ISDSC_DEVICE_NOT_FOUND
94 0xEFFF005E The device specified does not originate from an iSCSI disk or a persistent iSCSI login. ISDSC_DEVICE_NOT_ISCSI_OR_PERSISTENT
95 0xEFFF005F The DNS name specified was not resolved. ISDSC_DNS_NAME_UNRESOLVED
96 0xEFFF0060 There is no connection available in the iSCSI session to process the request. ISDSC_NO_CONNECTION_AVAILABLE
97 0xEFFF0061 The given Load Balance policy is not supported. ISDSC_LB_POLICY_NOT_SUPPORTED
98 0xEFFF0062 A remove connection request is already in progress for this session. ISDSC_REMOVE_CONNECTION_IN_PROGRESS
99 0xEFFF0063 Given connection was not found in the session. ISDSC_INVALID_CONNECTION_ID
100 0xEFFF0064 The leading connection in the session cannot be removed. ISDSC_CANNOT_REMOVE_LEADING_CONNECTION
101 0xEFFF0065 The operation cannot be performed since it does not conform with the group policy assigned to this computer. ISDSC_RESTRICTED_BY_GROUP_POLICY
102 0xEFFF0066 The operation cannot be performed since the Internet Storage Name Server (iSNS) firewall exception has not been enabled. ISDSC_ISNS_FIREWALL_BLOCKED