Alert could not be sent

Alert_could_not_be_sent (Rule)

Knowledge Base article:

Summary

An error occurred in the SharePoint Portal Alert service. One of the alerts cannot be sent, and results for the alert will not appear. There may be errors in the .xsl file.

Resolutions

Do the following:

Check the .xsl files for any errors that might cause the transformation to fail.

Additional

Sample Event

The alert for the result result_name for the user user_name cannot be sent. To send this alert, check your XSL files and fix any problems that you find.

Element properties:

TargetMicrosoft.SharePointPortalServer.2003.AlertNotificationService
CategoryEventCollection
EnabledTrue
Event SourceSharePoint Portal Alert Service
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Alert could not be sent
{0}
Event LogApplication
CommentMom2005ID='{0868FFF5-6721-4EAC-8DAE-D99C8B219AB9}'

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Alert_could_not_be_sent" Enabled="onStandardMonitoring" Target="Microsoft.SharePointPortalServer.2003.AlertNotificationService" Remotable="true" Comment="Mom2005ID='{0868FFF5-6721-4EAC-8DAE-D99C8B219AB9}'">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>SharePoint Portal Alert Service</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDescription</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>The alert for the result</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner>$Data/PublisherName$</AlertOwner>
<AlertMessageId>$MPElement[Name="Alert_could_not_be_sent.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>