| Previous | Next |
| OSS_BAD_TABLE | OSS_CONSTRAINT_VIOLATED |
OSS_TOO_LONG
OSS_TOO_LONG (0x80093010) is an OSS ASN.1 runtime result for value exceeds SIZE while strong checking is disabled. The encoder encounters a value longer than the ASN.1 SIZE constraint in a configuration where the dedicated strong-checking path was not used. Because actual element or string length is central to this condition, Microsoft’s HRESULT range and the OSS Nokalva return-code documentation should be read together. Start the investigation by recording declared SIZE constraint and extension marker, then separate the encoded value from generated artifacts, call arguments, and the runtime package actually loaded by the process.
Where processing stopped
At the value exceeds SIZE while strong checking is disabled boundary, capture the first OSS function returning the value and note whether the operation was encode, decode, copy, compare, constraint validation, or trace setup. Preserve the selected PDU, encoding rules, and constraint-checking flags used for this call; otherwise an outer certificate or security wrapper may hide the useful codec result behind a generic failure.
Facts that change the conclusion
- actual element or string length
- declared SIZE constraint and extension marker
- constraint-checking flags used for this call
Similar names, different faults: the result
CONSTRAINT_VIOLATED is the general checked failure; TOO_LONG highlights an oversized value found during encoding under different checking behavior.
Isolation sequence
- encode exactly the upper-bound length
- enable explicit constraint checking in a test build
- trace where the collection count is assigned
Instrumentation
Where actual element or string length can expose sensitive content, a hash plus a bounded structural excerpt is safer than the complete payload. Use declared SIZE constraint and extension marker together with OSS module paths and versions logged once per process so packaging differences can be correlated without flooding normal diagnostics.
Completion check: the result
Validate lengths when constructing the value and ensure runtime flags match the application validation policy.
Technical references
Looking for a different code? Search another status or error code.