This paper lists the various error codes that may be returned by the Microsoft iSNS server, and what each error code means.
| • | This error code will be returned if there are undefined bits set in the Flags field of the iSNS Message Header. |
| • | PDU Length field of the iSNS Message Header indicates more Payload data than actually received. |
| • | Length field of an iSNS attribute indicates data length that overflows past the end of the PDU Payload. |
| • | An EID (Entity Identifier) was found in the Operating Attributes for a DevAttrReg request with the Replace flag clear (i.e. an Update registration). |
| • | A Message Key attribute was found in a DevDereg request. |
| • | The Length field of an attribute being registered is not a multiple of 4. |
| • | There are no Operating Attributes in a registration request. |
| • | Non-key attribute is specified without the corresponding preceding Key attribute(s). |
| • | Source Attribute is not iSCSI Name. |
| • | Too many attributes are specified in the Message Key for DevGetNext. |
| • | No Operating Attribute was specified in an SCNReg request. |
| • | Operating Attribute(s) were specified in an SCNDereg request. |
| • | Message Key for SCNDereg is not iSCSI Name. |
| • | The message specified is not supported by the server. |
| • | NULL EID was specified as the Message Key for a DevAttrReg request. |
| • | Too many attributes are specified in the Message Key for DevAttrReg. |
| • | A non-EID object was specified as the Message Key for DevAttrReg, but that object was not found in the database (new objects must be registered by updating an existing Entity). |
| • | PG (Portal Group) attributes were specified in a DevAttrReg request, without a preceding Portal or iSCSI Name object. |
| • | An unknown object was specified in a DevAttrReg request. |
| • | An attribute that may not be explicitly registered was specified in a DevAttrReg request. |
| • | A zero-length attribute was specified in the Operating Attributes in a DevAttrReg request (exceptions are zero-length EID or PG Tag, which are legal). |
| • | More than one EID was specified in a DevAttrReg request. |
| • | EID, if specified, was not the first attribute specified in the Operating Attributes in a DevAttrReg request. |
| • | A Portal IP Address attribute was specified without the corresponding Portal Port attribute in a DevAttrReg request. |
| • | The same object was specified more than once in a DevAttrReg request. |
| • | An object being registered in one Entity in a DevAttrReg request already exists in another Entity. |
| • | A new Entity is attempted to be created in a DevAttrReg request but that Entity does not contain at least one Portal or Node object. |
| • | An EID object is being added to an existing Entity in a DevAttrReg request. |
| • | An object specified in a DevAttrReg request to update an Entity already exists in another Entity. |
| • | A memory allocation error or other error occurred internal to the server. |
| • | An attribute not valid for DevDereg was specified in the OperatingAttributes. |
| • | The Message Key specified in a DevGetNext request matches the last instance of that object in the database (no next object exists). |
| • | The object matching the Message Key of a DevAttrQry request was not found in the database (the object does not exist or is not registered). |
| • | All attributes specified in the Key Attributes in a DevAttrQry request are not of the same object type. |
| • | An attribute not valid for DevAttrQry was specified in the Key Attributes. |
| • | An attribute not valid for DevGetNext was specified in the Key Attributes. |
| • | The Message Key specified in an SCNReg request is not an iSCSI Name. |
| • | The iSCSI Name specified in the Message Key of an SCNReg request does not exist or is not registered. |
| • | The Operating Attribute specified in an SCNReg request is not an iSCSI SCN Bitmap. Introduction (Introduction Header) |