What does HRESULT 0x00040939 (IDS_MON_SELECT_STAR) mean?

 
Previous Next
IDS_MON_OUT_OF_MEMORY IDS_MON_OR_NOT

IDS_MON_SELECT_STAR

IDS_MON_SELECT_STAR reflects an important Windows Search schema rule. Search items do not share one fixed set of properties, so the SQL asterisk is not accepted as the ordinary SELECT projection used by current Windows Search queries.

Emit the properties the caller actually consumes

  • Replace the wildcard with canonical property names such as System.ItemName, System.ItemUrl, or other registered retrievable properties.
  • Keep projection generation separate from full-text CONTAINS(*,...); the asterisk has a different documented role inside that predicate.
  • When adding optional columns, preserve explicit comma-separated projection syntax.

Microsoft explains that no defined and fixed property set applies to every indexed document. A valid property can still be NULL for a particular item, which is different from asking the provider to discover every possible property through *. The correct repair is an explicit projection matched to the application’s data contract, not a catalog reset or broader crawl scope.

SELECT statement · CONTAINS predicate · Parser messages


Looking for a different code? Search another status or error code.