3.1.5.2 Sending Licensing Error Messages

Both the client and the server can send a Licensing Error Message (section 2.2.2.8). Whenever an error message is sent, the message type in the Licensing Preamble (section 2.2.1.2) MUST be set to ERROR_ALERT (0xFF). For the PDU, see [MS-RDPBCGR] section 2.2.1.12.1.3

The client and the server MUST also set the appropriate state transition value in the dwStateTransition field in the PDU. This is used to determine the next action to take. For state transitions, see Processing Licensing Error Messages (section 3.1.5.3).

A more detailed reason for the error MAY be passed by using the bbErrorInfo BLOB. The BLOB type MUST be BB_ERROR_BLOB (see [MS-RDPBCGR] sections 2.2.1.12.1.2 and 2.2.1.12.1.3). This BLOB is empty if no detailed reason for the error is passed.