由于发生内部错误,TMG 服务器无法从存储的配置中读取一个或多个服务器发布规则

Microsoft.Forefront.TMG.ISA_Server_failed_to_read_one_or_more_server_publishing_rules_from_the_stored_configuration_because_an_internal_error_occurred.Rule (Rule)

如果由于发生内部错误而导致 TMG 服务器无法从存储的配置中读取一个或多个服务器发布规则,此规则将生成警报

Knowledge Base article:

摘要

TMG 服务器无法从存储的配置中读取一个或多个服务器发布规则。

原因

该事件可能是由于内存不足、内部错误或注册表损坏造成的。 如果注册表存在问题,则可能是由于使用 Regedit.exe 等工具对注册表进行更改导致的。

解决方法

Element properties:

TargetMicrosoft.Forefront.TMG.Publishing.ServerComponent
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.ISA_Server_failed_to_read_one_or_more_server_publishing_rules_from_the_stored_configuration_because_an_internal_error_occurred.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.Publishing.ServerComponent" 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>^(14097)$</EventsPattern>
<EventType>1</EventType>
<SourcePattern>Microsoft Forefront TMG Firewall</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.ISA_Server_failed_to_read_one_or_more_server_publishing_rules_from_the_stored_configuration_because_an_internal_error_occurred.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>2</Priority>
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>