| Previous | Next |
| IDS_MON_CANNOT_CONVERT | IDS_MON_RELATIVE_INTERVAL |
IDS_MON_OUT_OF_RANGE
IDS_MON_OUT_OF_RANGE is distinct from a syntactically invalid number. The parser has a value and a target data type, but the value lies outside the representable or accepted range for that type. This often becomes visible after an explicit cast or after a query builder chooses a narrower type than the source property.
Compare the literal with the target property mapping
- Record the expanded literal without losing sign, exponent, or hexadecimal notation.
- Identify any explicit
CASTand the OLE DB/property-system type to which the property maps. - Check generated boundary values and unit conversions before truncating or clamping them in SQL text.
Windows Search documents numeric literals, scientific notation, and hexadecimal literals separately, and publishes mappings between variant and OLE DB data types. A range failure should therefore be fixed at the value/type boundary. Changing quotes can change a value into a string but does not make the original numeric comparison correct. Preserve the application-level value and select a compatible property/type contract.
Literals · Data type mappings · Casting columns
Looking for a different code? Search another status or error code.