Error 0x80040504

Value: -2147220220 | 0x80040504 | 2147747076

What does it mean ?

COLL_E_BUFFERTOOSMALL  
Not enough buffer space is available to collate search results.
Value: 1284 | 0x0504 | 0b0000010100000100
TF_E_DISCONNECTED  
The context object is not on a document stack.
Value: 1284 | 0x0504 | 0b0000010100000100

Where does it come from ?

FACILITY_ITF  
COM/OLE Interface management. FACILITY_ITF is designated for user-defined error codes returned from interface methods
Value: 4 | 0x004 | 0b00000100

Other Errors for FACILITY_ITF