The TMG Server Web Filter was unable to connect to the MSDE database

Microsoft.Forefront.TMG.The_ISA_Server_Web_Filter_was_unable_to_connect_to_the_MSDE_database.Rule (Rule)

This Rule generates alerts when The TMG Server Web Filter was unable to connect to the MSDE database

Knowledge Base article:

Summary

The Web Proxy generates this event when the ActiveX Data Objects (ADO) connection object could not be opened. The Web Proxy uses the ADO connection to insert records to the MSDE database. The first parameter of the event contains the name of the logging component (Firewall or Web Proxy). The second parameter of the event contains the error description received from the Microsoft Data Engine service.

Causes

An ADO connection cannot be opened for one of the following reasons:

Resolutions

External

For more information about TMG Server logs, refer to the "Logs" topic in the TMG Server on-line help.

Element properties:

TargetMicrosoft.Forefront.TMG.Logging.SQLServerExpressDatabase
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Forefront.TMG.Rule.AlertGenerate.DS Default
WA WriteAction Microsoft.Forefront.TMG.Rule.AlertGenerate.WA Default

Source Code:

<Rule ID="Microsoft.Forefront.TMG.The_ISA_Server_Web_Filter_was_unable_to_connect_to_the_MSDE_database.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.Logging.SQLServerExpressDatabase" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.DS">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<EventsPattern>^(21192)$</EventsPattern>
<EventType>1</EventType>
<SourcePattern>Microsoft Forefront TMG Web Proxy</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.The_ISA_Server_Web_Filter_was_unable_to_connect_to_the_MSDE_database.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>2</Priority>
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>