| Previous | Next |
| RPC_NT_NULL_REF_POINTER | RPC_NT_BYTE_COUNT_TOO_SMALL |
RPC_NT_ENUM_VALUE_OUT_OF_RANGE
RPC enum value outside the marshaled range
RPC_NT_ENUM_VALUE_OUT_OF_RANGE is a marshaling-boundary validation failure. Generated stubs can enforce the IDL-defined value space before data is accepted as a valid remote-call parameter.
This should be investigated as an interface-version or input-validation issue. A newer client may send an enum value unknown to an older server, or unvalidated external data may be copied into an IDL enum parameter.
What to check
- Compare the IDL used to build the client and server; enum drift between versions is a common cause.
- Log the numeric value before marshaling, not only the symbolic value in application code.
- Check compatibility behavior when extending enum definitions in public RPC interfaces.
References
- Microsoft Open Specifications: MS-RPCE overview
- The Open Group: DCE 1.1 RPC protocol definitions
- Microsoft Open Specifications: NTSTATUS values
- Microsoft MIDL: compiler errors
Looking for a different code? Search another status or error code.