| Previous | Next |
| IDS_MON_DEFAULT_ERROR | IDS_MON_PARSE_ERR_1_PARAM |
IDS_MON_ILLEGAL_PASSTHROUGH
IDS_MON_ILLEGAL_PASSTHROUGH indicates that the submitted command is trying to use a pass-through query form that the catalog parser does not accept. This is a query-shape problem, not a failure to reach a remote SQL server. Windows Search has its own SQL dialect for querying the search catalog.
Use the search catalog grammar directly
- Log whether a generic OLE DB query layer wrapped the search text in a
PASSTHROUGHconstruct. - Generate a normal
SELECTagainstSystemIndexand express matching in the Windows SearchWHEREclause. - Keep SQL Server, Access, and Windows Search dialect selection separate in shared query-builder code.
The current Windows Search syntax explicitly describes SELECT and GROUP ON ... OVER query forms and uses SystemIndex as the catalog. A provider abstraction that emits pass-through syntax for other data sources should not reuse that branch for the search provider. Retrying the unchanged command or rebuilding the index cannot make an unsupported statement form valid.
Parser error reference · Search SQL statement forms
Looking for a different code? Search another status or error code.