|Product:||SQL Server Notification Services|
|Message:||The delivery protocol threw an exception in its IDeliveryProtocol.DeliverNotification() method.|
|This error can occur for two possible reasons: either the distributor’s call to the IDeliveryProtocol.DeliverNotification() method of a delivery protocol generates an exception, or the distributor is unable to update performance counters relating to notification delivery.|
|Examine the body of the event message to determine whether the error is coming from the performance counter framework or the delivery protocol.
If it appears to be related to performance counters, the performance counters on your machine may have become corrupted. For information about how to remedy this situation, see the topic “Troubleshooting” in Notification Services Books Online.
If the failure is related to the delivery protocol and you are using a built-in delivery protocol, examine the body of the error message to determine the cause of the error.
If you are using a custom delivery protocol, it is throwing an exception in its implementation of the IDeliveryProtocol.DeliverNotification() method. The body of the event message contains more details about the type of exception that was thrown. Examine your code to determine why the exception is being thrown.
For more information about how to debug a custom content formatter using a source code debugger, see the topic “Debugging a Custom Component” in Notification Services Books Online.