| Previous | Next |
| STATUS_SECURITY_STREAM_IS_INCONSISTENT | STATUS_INVALID_ACE_CONDITION |
STATUS_INVALID_LOCK_RANGE
The requested lock interval is invalid
A byte-range lock is not just a file-wide flag: its start and length form a 64-bit interval. Arithmetic overflow, zero or unsupported lengths, invalid ordering, and protocol-specific range restrictions can make the interval impossible to apply.
The error is deterministic for the submitted range. Retrying without correcting the interval will not help, and clipping the request silently can weaken application-level concurrency guarantees.
What to inspect
- Construct the end position with checked 64-bit arithmetic.
- Capture the exact offset, length, shared/exclusive mode, and fail-immediately flag.
- For SMB files, compare the client range with the server’s lock representation and file size.
References
Looking for a different code? Search another status or error code.