When we work with event sink, many of the time we'll get confuse, whether the event is working or not. Because there are quite some issues associated probably event sink might be not properly registered or not, how about its criteria filter or any of the interfaces or missing were some of the common reasons.
By making use of MS Exchange OLE DB provider, we can find more valuable information. We can check MS Exchange OLE DB provider logs events in the Microsoft Windows® server operating systems Application event log.
The following table describes these events.
|Error||EVENTS_BINDING_DISABLED||The Exchange OLE DB (ExOLEDB) provider has disabled the event registration due to the problems in the event sink.|
|Error||EVENTS_INVALID_BINDING||The ExOLEDB provider was unable to register the event.|
|Error||EVENTS_INVALID_CRITERIA_FILTER||The ExOLEDB provider was unable to process the specified event criteria filter.|
|Error||EVENTS_INVALID_PROPERTY_VALUE||The ExOLEDB provider was unable to initialize the event registration.|
|Error||EVENTS_INVALID_SINK_CLASS||The ExOLEDB provider was either unable to create an event sink object or unable to get the necessary interface or interfaces from the sink class.|
|Error||EVENTS_MISSING_PROPERTY||The ExOLEDB provider was unable to initialize event registration due to a missing property value.|
|Error||EVENTS_UNABLE_TO_INITIALIZE_SOURCE||The ExOLEDB provider was unable to initialize event registration for the store.|
|Error||EVENTS_UNABLE_TO_REGISTER_BINDING||The ExOLEDB provider was unable to initialize an event registration.|
|Error||EXOLEDB_FAILED_TO_REGISTER_OBJECTS||The ExOLEDB provider was unable to successfully register event sink Component Object Model (COM) objects|