| Previous | Next |
| IDS_MON_OR_NOT | IDS_MON_OUT_OF_RANGE |
IDS_MON_CANNOT_CONVERT
IDS_MON_CANNOT_CONVERT is a type-conversion failure in the query layer. Windows Search properties map from property-system variant types to OLE DB types, and casts use a documented set of target data types. Quoting a numeric or Boolean value as a string can also change the comparison type before conversion is attempted.
Log the source property type and target type
- Identify the canonical property being compared or projected and its registered type.
- Check whether the query explicitly uses
CASTor relies on an implicit conversion caused by the literal syntax. - Use numeric, Boolean, hexadecimal, string, and date literal forms exactly as documented instead of coercing every value through text.
The Windows Search casting syntax applies to a property column and supports specific data types. Its literal rules also state that quoted numeric and Boolean values are interpreted as strings. When this code appears, compare the property-system type, the cast target, and the literal form as a three-part contract. Reindexing does not change the SQL type requested by the command.
Casting columns · Data type mappings · Literal syntax
Looking for a different code? Search another status or error code.